This commit is contained in:
polar 2025-08-21 01:36:47 +03:00 committed by GitHub
commit 26b39b7947
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 3 additions and 3 deletions

View file

@ -1553,7 +1553,7 @@ class LintCommand(Command):
if os.path.exists(difftemp): os.remove(difftemp) if os.path.exists(difftemp): os.remove(difftemp)
ret = shell_call([ ret = shell_call([
sys.executable, sys.executable,
'third_party/clang-format/git-clang-format', '/git-clang-format',
'--binary=%s' % (clang_format_binary), '--binary=%s' % (clang_format_binary),
'--commit=%s' % ('origin/master' if args['origin'] else 'HEAD'), '--commit=%s' % ('origin/master' if args['origin'] else 'HEAD'),
'--style=file', '--style=file',
@ -1570,7 +1570,7 @@ class LintCommand(Command):
print('') print('')
shell_call([ shell_call([
sys.executable, sys.executable,
'third_party/clang-format/git-clang-format', '/git-clang-format',
'--binary=%s' % (clang_format_binary), '--binary=%s' % (clang_format_binary),
'--commit=%s' % ('origin/master' if args['origin'] else 'HEAD'), '--commit=%s' % ('origin/master' if args['origin'] else 'HEAD'),
'--style=file', '--style=file',
@ -1628,7 +1628,7 @@ class FormatCommand(Command):
print('- git-clang-format') print('- git-clang-format')
shell_call([ shell_call([
sys.executable, sys.executable,
'third_party/clang-format/git-clang-format', '/git-clang-format',
'--binary=%s' % (clang_format_binary), '--binary=%s' % (clang_format_binary),
'--commit=%s' % ('origin/master' if args['origin'] else 'HEAD'), '--commit=%s' % ('origin/master' if args['origin'] else 'HEAD'),
]) ])