diff options
author | Brad Roberts <braddr@puremagic.com> | 2005-05-14 19:04:25 -0700 |
---|---|---|
committer | Petr Baudis <xpasky@machine.sinus.cz> | 2005-05-15 12:26:25 +0200 |
commit | 5d728c8411a092f80171f787b5409d98978690c7 (patch) | |
tree | 0e04912f5efbc654765ce9b7fba5d824ab74b6b9 /diff.c | |
parent | 127cfd0d2f1db6ef690e01aafd1c660ea1c82499 (diff) | |
download | git-5d728c8411a092f80171f787b5409d98978690c7.tar.gz git-5d728c8411a092f80171f787b5409d98978690c7.tar.xz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |