tree-diff: convert diff_root_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
09fae19aa8
commit
7b8dea0c75
@ -566,8 +566,8 @@ static void handle_commit(struct commit *commit, struct rev_info *rev)
|
||||
commit->tree->object.oid.hash, "", &rev->diffopt);
|
||||
}
|
||||
else
|
||||
diff_root_tree_sha1(commit->tree->object.oid.hash,
|
||||
"", &rev->diffopt);
|
||||
diff_root_tree_oid(&commit->tree->object.oid,
|
||||
"", &rev->diffopt);
|
||||
|
||||
/* Export the referenced blobs, and remember the marks. */
|
||||
for (i = 0; i < diff_queued_diff.nr; i++)
|
||||
|
Reference in New Issue
Block a user