Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
add, reset: ensure submodules can be added or reset
[gitweb.git]
/
diff-no-index.c
diff --git
a/diff-no-index.c
b/diff-no-index.c
index 79229382b06cefc98aa8926065f0fb999ad1da2e..80ff17d460ed67fa4b38f8a8dfce7504b27bbb64 100644
(file)
--- a/
diff-no-index.c
+++ b/
diff-no-index.c
@@
-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;