templates/Makefile: install is unnecessary, just use mkdir -p
[gitweb.git] / dir.c
diff --git a/dir.c b/dir.c
index ae7046fd034ab828aa7e867ad9cbaa553d5edc0d..92452eb5ef539336e41da0a717a7fc48d9554816 100644 (file)
--- 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 == '\\';
 }
 
 /*