Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-p4: replace each tab with 8 spaces for consistency
[gitweb.git]
/
symlinks.c
diff --git
a/symlinks.c
b/symlinks.c
index 3cacebd91adc2958e81d952523bd7cfe0078078c..034943bda0e8be781f4a7568f0dbb5b1958f7e15 100644
(file)
--- a/
symlinks.c
+++ b/
symlinks.c
@@
-223,7
+223,7
@@
int check_leading_path(const char *name, int len)
int flags;
int match_len = lstat_cache_matchlen(cache, name, len, &flags,
FL_SYMLINK|FL_NOENT|FL_DIR, USE_ONLY_LSTAT);
- if (flags &
(FL_SYMLINK|FL_NOENT)
)
+ if (flags &
FL_NOENT
)
return 0;
else if (flags & FL_DIR)
return -1;