Format support/hololens/

This commit is contained in:
Paul Rouget 2019-10-30 11:00:41 +01:00
parent 70823e3032
commit 36c1669215
5 changed files with 26 additions and 25 deletions

View file

@ -810,7 +810,7 @@ def setup_clangfmt(all_files):
return False, None, None
gitcmd = ['git', 'ls-files']
if not all_files:
gitcmd.append('-m')
gitcmd.append('-m')
gitfiles = subprocess.check_output(gitcmd + CLANGFMT_CPP_DIRS).splitlines()
filtered = [line for line in gitfiles if line.endswith(".h") or line.endswith(".cpp")]
return True, cmd, filtered