summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Charles Lombardo2024-01-11 19:58:41 -0500
committerGravatar GitHub2024-01-11 19:58:41 -0500
commita4d90a9a64cd1040efc64efc96700911407e7db9 (patch)
treec1a1fd81328111e198a7233c2ab639177a18ccdd
parentMerge pull request #12639 from liamwhite/format-oops (diff)
parentci: fix file mode check in format script (diff)
downloadyuzu-a4d90a9a64cd1040efc64efc96700911407e7db9.tar.gz
yuzu-a4d90a9a64cd1040efc64efc96700911407e7db9.tar.xz
yuzu-a4d90a9a64cd1040efc64efc96700911407e7db9.zip
Merge pull request #12653 from liamwhite/once-more
ci: fix file mode check in format script
-rwxr-xr-x.ci/scripts/format/script.sh2
1 files changed, 1 insertions, 1 deletions
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
25 "$CLANG_FORMAT" -i "$f" 25 "$CLANG_FORMAT" -i "$f"
26done 26done
27 27
28DIFF=$(git diff) 28DIFF=$(git -c core.fileMode=false diff)
29 29
30if [ ! -z "$DIFF" ]; then 30if [ ! -z "$DIFF" ]; then
31 echo "!!! Not compliant to coding style, here is the fix:" 31 echo "!!! Not compliant to coding style, here is the fix:"