summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-05-05 13:39:28 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-05-05 13:39:28 +0200
commit9e66a947e4ac67c12c24b94db155f4ffadc371d4 (patch)
tree9efe5f61b47d8f45509b89ff3e3a9bb77e0fe37f /misc
parent11b94351306247330db0971c0d682bc3dc8897aa (diff)
Relax version warning in clang-format precommit hook
Closes #60778.
Diffstat (limited to 'misc')
-rwxr-xr-xmisc/hooks/pre-commit-clang-format2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/hooks/pre-commit-clang-format b/misc/hooks/pre-commit-clang-format
index 2ee3f569d5..e8e62e6470 100755
--- a/misc/hooks/pre-commit-clang-format
+++ b/misc/hooks/pre-commit-clang-format
@@ -77,7 +77,7 @@ fi
# To get consistent formatting, we recommend contributors to use the same
# clang-format version as CI.
RECOMMENDED_CLANG_FORMAT_MAJOR_MIN="12"
-RECOMMENDED_CLANG_FORMAT_MAJOR_MAX="13"
+RECOMMENDED_CLANG_FORMAT_MAJOR_MAX="14"
if [ ! -x "$CLANG_FORMAT" ] ; then
message="Error: clang-format executable not found. Please install clang-format $RECOMMENDED_CLANG_FORMAT_MAJOR_MAX."