diff options
| author | Junio C Hamano <gitster@pobox.com> | 2009-03-12 21:48:07 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2009-03-12 21:48:07 -0700 |
| commit | fa711bc1983efca058ef6af19ffa808690b21d8c (patch) | |
| tree | 2a2b98e69578c4d0adefbea7336a70083fb70397 /dir.c | |
| parent | de55390d36f30d5ef4be84eb9adba74f6903aa8e (diff) | |
| parent | dd482eeac2524627beee323438dd1fdf34b4f97e (diff) | |
| download | git-fa711bc1983efca058ef6af19ffa808690b21d8c.tar.xz | |
Merge branch 'fg/maint-1.6.0-exclude-bq' into maint-1.6.0
* fg/maint-1.6.0-exclude-bq:
Support "\" in non-wildcard exclusion entries
Diffstat (limited to 'dir.c')
| -rw-r--r-- | dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |
