From de507801074148b6a814f9a1639113f619592db5 Mon Sep 17 00:00:00 2001 From: gibbed Date: Sat, 22 Feb 2020 13:23:54 -0600 Subject: [PATCH] Force -style=file for xb lint. --- xenia-build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xenia-build b/xenia-build index db601041d..0b6780e24 100755 --- a/xenia-build +++ b/xenia-build @@ -1253,6 +1253,7 @@ class LintCommand(Command): 'third_party/clang-format/git-clang-format', '--binary=%s' % (clang_format_binary), '--commit=%s' % ('origin/master' if args['origin'] else 'HEAD'), + '--style=file', '--diff', ], throw_on_error=False, stdout_path=difftemp) with open(difftemp) as f: @@ -1269,6 +1270,7 @@ class LintCommand(Command): 'third_party/clang-format/git-clang-format', '--binary=%s' % (clang_format_binary), '--commit=%s' % ('origin/master' if args['origin'] else 'HEAD'), + '--style=file', '--diff', ]) print('ERROR: 1+ diffs. Stage changes and run \'xb format\' to fix.')