diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-12-28 10:41:41 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-01-15 15:38:29 -0800 |
commit | 0aa9d8aa6ce429f0fa04e1ca819ed766c211e242 (patch) | |
tree | a1300182f22bf55f45b5769673cabc6535666dd7 /builtin/merge-ours.c | |
parent | Merge branch 'sb/more-repo-in-api' into md/list-objects-filter-by-depth (diff) | |
parent | rebase-interactive.c: remove the_repository references (diff) | |
download | tgif-0aa9d8aa6ce429f0fa04e1ca819ed766c211e242.tar.xz |
Merge branch 'nd/the-index' into md/list-objects-filter-by-depth
Diffstat (limited to 'builtin/merge-ours.c')
-rw-r--r-- | builtin/merge-ours.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/merge-ours.c b/builtin/merge-ours.c index c84c6e05e9..0b07263415 100644 --- a/builtin/merge-ours.c +++ b/builtin/merge-ours.c @@ -26,7 +26,7 @@ int cmd_merge_ours(int argc, const char **argv, const char *prefix) */ if (read_cache() < 0) die_errno("read_cache failed"); - if (index_differs_from("HEAD", NULL, 0)) + if (index_differs_from(the_repository, "HEAD", NULL, 0)) exit(2); exit(0); } |