Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
coccinelle: apply object_id Coccinelle transformations
[gitweb.git]
/
diff.c
diff --git
a/diff.c
b/diff.c
index fa78fc189cd7225767817a2d24ef6c3b19bef9d8..f2234012fa7b1517828097d79040063cfd3bcdec 100644
(file)
--- a/
diff.c
+++ b/
diff.c
@@
-3134,7
+3134,7
@@
static void diff_fill_sha1_info(struct diff_filespec *one)
if (!one->sha1_valid) {
struct stat st;
if (one->is_stdin) {
- hashc
py(one->sha1, null_
sha1);
+ hashc
lr(one->
sha1);
return;
}
if (lstat(one->path, &st) < 0)