summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorBrad Roberts <braddr@puremagic.com>2005-05-15 02:04:25 (GMT)
committerPetr Baudis <xpasky@machine.sinus.cz>2005-05-15 10:26:25 (GMT)
commit5d728c8411a092f80171f787b5409d98978690c7 (patch)
tree0e04912f5efbc654765ce9b7fba5d824ab74b6b9 /diff.c
parent127cfd0d2f1db6ef690e01aafd1c660ea1c82499 (diff)
downloadgit-5d728c8411a092f80171f787b5409d98978690c7.zip
git-5d728c8411a092f80171f787b5409d98978690c7.tar.gz
git-5d728c8411a092f80171f787b5409d98978690c7.tar.bz2
Rename cache_match_stat() to ce_match_stat()
Signed-off-by: Brad Roberts <braddr@puremagic.com> Signed-off-by: Petr Baudis <pasky@ucw.cz>
Diffstat (limited to 'diff.c')
-rw-r--r--diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff.c b/diff.c
index 26b53cc..a237311 100644
--- 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) ||
- cache_match_stat(ce, &st) ||
+ ce_match_stat(ce, &st) ||
memcmp(sha1, ce->sha1, 20))
return 0;
return 1;