ci: color the diff for clang-format

Suggested-by: David Heidelberg <david.heidelberg@collabora.com>
Signed-off-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23269>
This commit is contained in:
Eric Engestrom 2023-05-26 18:22:02 +01:00 committed by Marge Bot
parent 6364511837
commit 059ee4ff8d

View File

@ -45,7 +45,7 @@ clang-format:
- clang-format-${LLVM_VERSION:?} --Werror -i
src/**/asahi/**/*.{h,c,cpp}
src/**/panfrost/**/*.{h,c,cpp}
- git diff --exit-code # Fails if there are diffs
- git diff --color=always --exit-code # Fails if there are diffs
.test-gl:
extends: