diff options
Diffstat (limited to 'tools/infrastructure/git-hooks/pre-commit')
-rwxr-xr-x | tools/infrastructure/git-hooks/pre-commit | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/infrastructure/git-hooks/pre-commit b/tools/infrastructure/git-hooks/pre-commit index 9c46f195f3..710f0656c3 100755 --- a/tools/infrastructure/git-hooks/pre-commit +++ b/tools/infrastructure/git-hooks/pre-commit @@ -72,10 +72,10 @@ if [ "$?" -ne "0" ]; then exit 1 fi -# Auto update c++ files with clang-format-3.6 -CLANG_FORMAT=clang-format-3.6 +# Auto update c++ files with clang-format-6.0 +CLANG_FORMAT=clang-format-6.0 # Verify clang-format -CLANG_FORMAT_REQUIRED_VERSION=3.6 +CLANG_FORMAT_REQUIRED_VERSION=6.0 CLANG_FORMAT_CURRENT_VERSION=$($CLANG_FORMAT -version) if [[ $CLANG_FORMAT_CURRENT_VERSION != *$CLANG_FORMAT_REQUIRED_VERSION* ]] then |