Rename cache_match_stat() to ce_match_stat()

Signed-off-by: Brad Roberts <braddr@puremagic.com>
Signed-off-by: Petr Baudis <pasky@ucw.cz>
This commit is contained in:
Brad Roberts
2005-05-14 19:04:25 -07:00
committed by Petr Baudis
parent 127cfd0d2f
commit 5d728c8411
8 changed files with 8 additions and 8 deletions

2
diff.c
View File

@ -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) ||
cache_match_stat(ce, &st) ||
ce_match_stat(ce, &st) ||
memcmp(sha1, ce->sha1, 20))
return 0;
return 1;