X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=dir.c;h=109e05b01346ac13296dfbcfa2355a43d97731cd;hb=ea3594e04184475226109a21e71c539ff5f139fd;hp=29d1d5ba31def46ba8b55905dc60773cc6cc167e;hpb=b84c343c885b8168047b2773b5c597d04337d9bd;p=git.git diff --git a/dir.c b/dir.c index 29d1d5ba3..109e05b01 100644 --- a/dir.c +++ b/dir.c @@ -54,7 +54,7 @@ int common_prefix(const char **pathspec) static inline int special_char(unsigned char c1) { - return !c1 || c1 == '*' || c1 == '[' || c1 == '?'; + return !c1 || c1 == '*' || c1 == '[' || c1 == '?' || c1 == '\\'; } /*