summaryrefslogtreecommitdiffstats
path: root/.ci/scripts/format
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-01-12 00:57:07 +0100
committerLiam <byteslice@airmail.cc>2024-01-12 00:57:07 +0100
commit84787a2adaa58794ff72627ec2231da863b104c1 (patch)
treec1a1fd81328111e198a7233c2ab639177a18ccdd /.ci/scripts/format
parentMerge pull request #12639 from liamwhite/format-oops (diff)
downloadyuzu-84787a2adaa58794ff72627ec2231da863b104c1.tar
yuzu-84787a2adaa58794ff72627ec2231da863b104c1.tar.gz
yuzu-84787a2adaa58794ff72627ec2231da863b104c1.tar.bz2
yuzu-84787a2adaa58794ff72627ec2231da863b104c1.tar.lz
yuzu-84787a2adaa58794ff72627ec2231da863b104c1.tar.xz
yuzu-84787a2adaa58794ff72627ec2231da863b104c1.tar.zst
yuzu-84787a2adaa58794ff72627ec2231da863b104c1.zip
Diffstat (limited to '.ci/scripts/format')
-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
"$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:"