Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Rename cache_match_stat() to ce_match_stat()
[gitweb.git]
/
diff.c
diff --git
a/diff.c
b/diff.c
index 26b53cca30104eeae20b3b9f7caf9f5fd254948e..a237311d7a7358fca67633d648eaa5d257f87755 100644
(file)
--- a/
diff.c
+++ b/
diff.c
@@
-175,7
+175,7
@@
static int work_tree_matches(const char *name, const unsigned char *sha1)
ce = active_cache[pos];
if ((lstat(name, &st) < 0) ||
!S_ISREG(st.st_mode) ||
- c
ach
e_match_stat(ce, &st) ||
+ ce_match_stat(ce, &st) ||
memcmp(sha1, ce->sha1, 20))
return 0;
return 1;