Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
bisect: use new "struct argv_array" to prepare argv for "setup_revisions"
[gitweb.git]
/
diff-lib.c
diff --git
a/diff-lib.c
b/diff-lib.c
index 79d06068344f5a602f6c8799f6671ccbf98cf49c..a310fb2ad08cfb5fac01f5519e8b95b2338b07db 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];