sha1-lookup: make selection of 'middle' less aggressive
[gitweb.git] / builtin-commit.c
index 38a542258ab173c76d5171a35799235bb725e63c..660a3458f7f4ef24dfa4fd5bdf902174da1eefb4 100644 (file)
@@ -198,7 +198,8 @@ static void create_base_index(void)
        opts.head_idx = 1;
        opts.index_only = 1;
        opts.merge = 1;
-       opts.index = &the_index;
+       opts.src_index = &the_index;
+       opts.dst_index = &the_index;
 
        opts.fn = oneway_merge;
        tree = parse_tree_indirect(head_sha1);