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
@ -819,8 +819,8 @@ static void queue_diffs(struct line_log_data *range,
|
||||
assert(commit);
|
||||
|
||||
DIFF_QUEUE_CLEAR(&diff_queued_diff);
|
||||
diff_tree_sha1(parent ? parent->tree->object.oid.hash : NULL,
|
||||
commit->tree->object.oid.hash, "", opt);
|
||||
diff_tree_oid(parent ? &parent->tree->object.oid : NULL,
|
||||
&commit->tree->object.oid, "", opt);
|
||||
if (opt->detect_rename) {
|
||||
filter_diffs_for_paths(range, 1);
|
||||
if (diff_might_be_rename())
|
||||
|
||||
Reference in New Issue
Block a user