summaryrefslogtreecommitdiff
path: root/misc/scripts/clang_format.sh
diff options
context:
space:
mode:
Diffstat (limited to 'misc/scripts/clang_format.sh')
-rwxr-xr-xmisc/scripts/clang_format.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/scripts/clang_format.sh b/misc/scripts/clang_format.sh
index 63c66d41c3..bcd63aa73b 100755
--- a/misc/scripts/clang_format.sh
+++ b/misc/scripts/clang_format.sh
@@ -40,7 +40,7 @@ while IFS= read -rd '' f; do
done
done
-git diff > patch.patch
+git diff --color > patch.patch
# If no patch has been generated all is OK, clean up, and exit.
if [ ! -s patch.patch ] ; then