Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
lstat_cache(): print a warning if doing ping-pong between cache types
[gitweb.git]
/
diff-lib.c
diff --git
a/diff-lib.c
b/diff-lib.c
index a41e1ec07ccd707969aa51768dac3e2b6356ddc6..a3ba20ee294df4c68599e73fd6a350d4166340bb 100644
(file)
--- a/
diff-lib.c
+++ b/
diff-lib.c
@@
-31,7
+31,7
@@
static int check_removed(const struct cache_entry *ce, struct stat *st)
return -1;
return 1;
}
- if (has_symlink_leading_path(ce
_namelen(ce), ce->name
))
+ if (has_symlink_leading_path(ce
->name, ce_namelen(ce)
))
return 1;
if (S_ISDIR(st->st_mode)) {
unsigned char sub[20];