diff options
| author | 2024-01-11 18:57:07 -0500 | |
|---|---|---|
| committer | 2024-01-11 18:57:07 -0500 | |
| commit | 84787a2adaa58794ff72627ec2231da863b104c1 (patch) | |
| tree | c1a1fd81328111e198a7233c2ab639177a18ccdd /.ci/scripts | |
| parent | Merge pull request #12639 from liamwhite/format-oops (diff) | |
| download | yuzu-84787a2adaa58794ff72627ec2231da863b104c1.tar.gz yuzu-84787a2adaa58794ff72627ec2231da863b104c1.tar.xz yuzu-84787a2adaa58794ff72627ec2231da863b104c1.zip | |
ci: fix file mode check in format script
Diffstat (limited to '.ci/scripts')
| -rwxr-xr-x | .ci/scripts/format/script.sh | 2 |
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" |
| 26 | done | 26 | done |
| 27 | 27 | ||
| 28 | DIFF=$(git diff) | 28 | DIFF=$(git -c core.fileMode=false diff) |
| 29 | 29 | ||
| 30 | if [ ! -z "$DIFF" ]; then | 30 | if [ ! -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:" |