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 b8e69d1 commit b9143bbCopy full SHA for b9143bb
etc/clang_format.py
@@ -639,12 +639,10 @@ def _get_candidate_files(self):
639
"""
640
gito = self._callgito(["ls-files"])
641
642
- # This allows us to pick all the interesting files
643
- # in the mongo and mongo-enterprise repos
644
file_list = [line.rstrip()
645
- for line in gito.splitlines() if "src" in line and
646
- not "examples" in line and
647
- not "third_party" in line]
+ for line in gito.splitlines() if
+ (line.startswith("src/") and not "/third_party/" in line) or
+ line.startswith("examples/")]
648
649
files_match = re.compile('\\.(h|hpp|cpp)$')
650
0 commit comments