X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-commit.c;h=660a3458f7f4ef24dfa4fd5bdf902174da1eefb4;hb=2a2ad0c0007b9f79768b4564644ac9eaaa7310b6;hp=f49c22e64255225e492614bb628c1d1776521424;hpb=6d21667206c4c2b10aad99eca1530a4f17c4e61d;p=git.git diff --git a/builtin-commit.c b/builtin-commit.c index f49c22e64..660a3458f 100644 --- a/builtin-commit.c +++ b/builtin-commit.c @@ -198,6 +198,8 @@ static void create_base_index(void) opts.head_idx = 1; opts.index_only = 1; opts.merge = 1; + opts.src_index = &the_index; + opts.dst_index = &the_index; opts.fn = oneway_merge; tree = parse_tree_indirect(head_sha1);