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 c16f584 commit 9766832Copy full SHA for 9766832
git/config.py
@@ -446,7 +446,10 @@ def string_decode(v):
446
raise e
447
448
def _has_includes(self):
449
- return self._merge_includes and self.has_section('include')
+ return self._merge_includes and any(
450
+ section == 'include' or section.startswith('includeIf ')
451
+ for section in self.sections()
452
+ )
453
454
def read(self):
455
"""Reads the data stored in the files we have been initialized with. It will
0 commit comments