Skip to content

Commit 3305add

Browse files
committed
format-diff.sh - skip thirdparty.inc
As it's actually a cmake file and trying to format it with clang-format results in obscure syntax.
1 parent 8c77294 commit 3305add

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build_tools/format-diff.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ fi
119119
set -e
120120

121121
# Exclude third-party from formatting
122-
EXCLUDE=':!third-party/'
122+
# Exclude thirdparty.inc as it is a cmake file.
123+
EXCLUDE="':!third-party/' ':!thirdparty.inc'"
124+
123125

124126
uncommitted_code=`git diff HEAD`
125127

0 commit comments

Comments
 (0)