summaryrefslogtreecommitdiff
path: root/pathspec.h
diff options
context:
space:
mode:
Diffstat (limited to 'pathspec.h')
-rw-r--r--pathspec.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/pathspec.h b/pathspec.h
index 987d70c55a..cdf2fa39f6 100644
--- a/pathspec.h
+++ b/pathspec.h
@@ -5,10 +5,12 @@
#define PATHSPEC_FROMTOP (1<<0)
#define PATHSPEC_MAXDEPTH (1<<1)
#define PATHSPEC_LITERAL (1<<2)
+#define PATHSPEC_GLOB (1<<3)
#define PATHSPEC_ALL_MAGIC \
(PATHSPEC_FROMTOP | \
PATHSPEC_MAXDEPTH | \
- PATHSPEC_LITERAL)
+ PATHSPEC_LITERAL | \
+ PATHSPEC_GLOB)
#define PATHSPEC_ONESTAR 1 /* the pathspec pattern sastisfies GFNM_ONESTAR */