Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/maint-1.6.0-read-tree-overlay'
[gitweb.git]
/
dir.c
diff --git
a/dir.c
b/dir.c
index 8fb52265424c2003bb4bb35390aa4f6d2b491614..371bcf7cfbc0b3ae7693fb129a6082924c84194d 100644
(file)
--- a/
dir.c
+++ b/
dir.c
@@
-137,7
+137,7
@@
int match_pathspec(const char **pathspec, const char *name, int namelen,
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,