summaryrefslogtreecommitdiff
path: root/builtin/merge-recursive.c
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2019-01-12 09:13:29 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-01-14 12:13:04 -0800
commit0d6caa2d08e39bf97e0cffb8ba2b4d39a73bf763 (patch)
treec1c4b356f5b889b13c436bb4b6a6adb301c587f1 /builtin/merge-recursive.c
parentsha1-name.c: remove implicit dependency on the_index (diff)
downloadtgif-0d6caa2d08e39bf97e0cffb8ba2b4d39a73bf763.tar.xz
merge-recursive.c: remove implicit dependency on the_index
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/merge-recursive.c')
-rw-r--r--builtin/merge-recursive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/merge-recursive.c b/builtin/merge-recursive.c
index 9b2f707c29..4864f7b22f 100644
--- a/builtin/merge-recursive.c
+++ b/builtin/merge-recursive.c
@@ -28,7 +28,7 @@ int cmd_merge_recursive(int argc, const char **argv, const char *prefix)
struct merge_options o;
struct commit *result;
- init_merge_options(&o);
+ init_merge_options(&o, the_repository);
if (argv[0] && ends_with(argv[0], "-subtree"))
o.subtree_shift = "";