projects
/
git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "magic pathspec: add ":(icase)path" to match case insensitively"
[git]
/
symlinks.c
diff --git
a/symlinks.c
b/symlinks.c
index
3cacebd
..
034943b
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;