diff options
author | Brandon Williams <bmwill@google.com> | 2017-05-30 19:30:55 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-02 02:36:07 +0200 |
commit | b9acf54dbd2906249abb2a406d466b47da44678e (patch) | |
tree | 72bdfd4a15a8437bd7ce55e1a379369449f6f9db /builtin/diff.c | |
parent | diff: convert diff_flush_patch_id to struct object_id (diff) | |
download | git-b9acf54dbd2906249abb2a406d466b47da44678e.tar.xz git-b9acf54dbd2906249abb2a406d466b47da44678e.zip |
combine-diff: convert diff_tree_combined to struct object_id
Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/diff.c')
-rw-r--r-- | builtin/diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/diff.c b/builtin/diff.c index b2d7c32cdb..73b4ff3db2 100644 --- a/builtin/diff.c +++ b/builtin/diff.c @@ -194,7 +194,7 @@ static int builtin_diff_combined(struct rev_info *revs, revs->dense_combined_merges = revs->combine_merges = 1; for (i = 1; i < ents; i++) oid_array_append(&parents, &ent[i].item->oid); - diff_tree_combined(ent[0].item->oid.hash, &parents, + diff_tree_combined(&ent[0].item->oid, &parents, revs->dense_combined_merges, revs); oid_array_clear(&parents); return 0; |