Преглед изворни кода

Merge pull request #12653 from liamwhite/once-more

ci: fix file mode check in format script
Charles Lombardo пре 2 година
родитељ
комит
a4d90a9a64
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      .ci/scripts/format/script.sh

+ 1 - 1
.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:"