diff: convert fill_filespec 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
94a0097a41
commit
f9704c2d82
@ -409,7 +409,7 @@ static void do_oneway_diff(struct unpack_trees_options *o,
|
||||
struct diff_filepair *pair;
|
||||
pair = diff_unmerge(&revs->diffopt, idx->name);
|
||||
if (tree)
|
||||
fill_filespec(pair->one, tree->oid.hash, 1,
|
||||
fill_filespec(pair->one, &tree->oid, 1,
|
||||
tree->ce_mode);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user