Make 'unpack_trees()' take the index to work on as an argument
[git/git.git] / builtin-commit.c
index f49c22e..38a5422 100644 (file)
@@ -198,6 +198,7 @@ static void create_base_index(void)
        opts.head_idx = 1;
        opts.index_only = 1;
        opts.merge = 1;
+       opts.index = &the_index;
 
        opts.fn = oneway_merge;
        tree = parse_tree_indirect(head_sha1);