mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
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
2
grep.c
2
grep.c
@@ -1407,7 +1407,7 @@ static int fill_textconv_grep(struct userdiff_driver *driver,
|
||||
fill_filespec(df, gs->identifier, 1, 0100644);
|
||||
break;
|
||||
case GREP_SOURCE_FILE:
|
||||
fill_filespec(df, null_sha1, 0, 0100644);
|
||||
fill_filespec(df, &null_oid, 0, 0100644);
|
||||
break;
|
||||
default:
|
||||
die("BUG: attempt to textconv something without a path?");
|
||||
|
||||
Reference in New Issue
Block a user