summaryrefslogtreecommitdiff
path: root/pathspec.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-12-19 19:33:56 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-12-19 19:33:56 (GMT)
commitf4f233e13daa584e5178141eb10e6e9527a3454c (patch)
tree2705e845567749c51ba409d303502f5d4e576188 /pathspec.h
parentd7c6c2369ac21141b7c6cceaebc6414ec3da14ad (diff)
parenteef3df5a93784e4d709907ce03006374ffc3ea26 (diff)
downloadgit-f4f233e13daa584e5178141eb10e6e9527a3454c.zip
git-f4f233e13daa584e5178141eb10e6e9527a3454c.tar.gz
git-f4f233e13daa584e5178141eb10e6e9527a3454c.tar.bz2
Merge branch 'bw/pathspec-match-submodule-boundary'
An v2.12-era regression in pathspec match logic, which made it look into submodule tree even when it is not desired, has been fixed. * bw/pathspec-match-submodule-boundary: pathspec: only match across submodule boundaries when requested
Diffstat (limited to 'pathspec.h')
-rw-r--r--pathspec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pathspec.h b/pathspec.h
index 6420d10..099a170 100644
--- a/pathspec.h
+++ b/pathspec.h
@@ -24,6 +24,7 @@ struct pathspec {
int nr;
unsigned int has_wildcard:1;
unsigned int recursive:1;
+ unsigned int recurse_submodules:1;
unsigned magic;
int max_depth;
struct pathspec_item {