8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f9840b commit c16f584Copy full SHA for c16f584
git/config.py
@@ -38,6 +38,9 @@
38
# represents the configuration level of a configuration file
39
CONFIG_LEVELS = ("system", "user", "global", "repository")
40
41
+# Section pattern to detect conditional includes.
42
+# https://git-scm.com/docs/git-config#_conditional_includes
43
+CONDITIONAL_INCLUDE_REGEXP = re.compile(r"(?<=includeIf )\"(gitdir|gitdir/i|onbranch):(.+)\"")
44
45
class MetaParserBuilder(abc.ABCMeta):
46
0 commit comments