From 2c28c41e10b9962682c0a42ee12b54117cea8a78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Thu, 5 May 2022 13:39:28 +0200 Subject: [PATCH] Relax version warning in clang-format precommit hook Closes #60778. (cherry picked from commit 9e66a947e4ac67c12c24b94db155f4ffadc371d4) --- misc/hooks/pre-commit-clang-format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/hooks/pre-commit-clang-format b/misc/hooks/pre-commit-clang-format index 2ee3f569d52..e8e62e64708 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."