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
@ -82,7 +82,7 @@ static struct diff_filespec *noindex_filespec(const char *name, int mode)
|
||||
if (!name)
|
||||
name = "/dev/null";
|
||||
s = alloc_filespec(name);
|
||||
fill_filespec(s, null_sha1, 0, mode);
|
||||
fill_filespec(s, &null_oid, 0, mode);
|
||||
if (name == file_from_standard_input)
|
||||
populate_from_stdin(s);
|
||||
return s;
|
||||
|
Reference in New Issue
Block a user