Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
process_{tree,blob}: show objects without buffering
[gitweb.git]
/
dir.c
diff --git
a/dir.c
b/dir.c
index cfaa28ff23acb462aa0cfd54a405316320ec3bc8..04a4b9861e03739df5c048448cd5c0be28b400db 100644
(file)
--- a/
dir.c
+++ b/
dir.c
@@
-139,7
+139,7
@@
int match_pathspec(const char **pathspec, const char *name, int namelen, int pre
static int no_wildcard(const char *string)
{
- return string[strcspn(string, "*?[{")] == '\0';
+ return string[strcspn(string, "*?[{
\\
")] == '\0';
}
void add_exclude(const char *string, const char *base,