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>
This commit is contained in:
committed by
Junio C Hamano
parent
9e5e0c289a
commit
66f414f885
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user