diff options
author | Brandon Williams <bmwill@google.com> | 2017-05-30 10:31:03 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-05 11:23:58 +0900 |
commit | 66f414f885aa6f44ae9e764bdd3e3cd7bd80c5a3 (patch) | |
tree | 93238d8cef2a91c8792e591e2752bb1971543581 /builtin/fast-export.c | |
parent | notes-merge: convert write_note_to_worktree to struct object_id (diff) | |
download | tgif-66f414f885aa6f44ae9e764bdd3e3cd7bd80c5a3.tar.xz |
diff-tree: convert diff_tree_sha1 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/fast-export.c')
-rw-r--r-- | builtin/fast-export.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/fast-export.c b/builtin/fast-export.c index e242726f08..d57f36c438 100644 --- a/builtin/fast-export.c +++ b/builtin/fast-export.c @@ -562,8 +562,8 @@ static void handle_commit(struct commit *commit, struct rev_info *rev) get_object_mark(&commit->parents->item->object) != 0 && !full_tree) { parse_commit_or_die(commit->parents->item); - diff_tree_sha1(commit->parents->item->tree->object.oid.hash, - commit->tree->object.oid.hash, "", &rev->diffopt); + diff_tree_oid(&commit->parents->item->tree->object.oid, + &commit->tree->object.oid, "", &rev->diffopt); } else diff_root_tree_oid(&commit->tree->object.oid, |