From 84787a2adaa58794ff72627ec2231da863b104c1 Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 11 Jan 2024 18:57:07 -0500 Subject: ci: fix file mode check in format script --- .ci/scripts/format/script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/scripts/format/script.sh b/.ci/scripts/format/script.sh index 572fa9ffb..c22398de0 100755 --- a/.ci/scripts/format/script.sh +++ b/.ci/scripts/format/script.sh @@ -25,7 +25,7 @@ for f in $FILES_TO_LINT; do "$CLANG_FORMAT" -i "$f" done -DIFF=$(git diff) +DIFF=$(git -c core.fileMode=false diff) if [ ! -z "$DIFF" ]; then echo "!!! Not compliant to coding style, here is the fix:" -- cgit v1.2.3