summaryrefslogtreecommitdiffstats
path: root/clang/tools/clang-format
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2016-12-03 23:22:45 +0000
committerSylvestre Ledru <sylvestre@debian.org>2016-12-03 23:22:45 +0000
commitf421403650fa2ed5247efa66683283d2cfc0adf1 (patch)
tree6995a21b6021aaa82a031f3eb6a3f889d43dacb2 /clang/tools/clang-format
parentc819d0169df3025eee2823ab1fe956d79d07205b (diff)
downloadbcm5719-llvm-f421403650fa2ed5247efa66683283d2cfc0adf1.tar.gz
bcm5719-llvm-f421403650fa2ed5247efa66683283d2cfc0adf1.zip
Add the --no-color option to the git call in the doc when using clang-format-diff
llvm-svn: 288605
Diffstat (limited to 'clang/tools/clang-format')
-rwxr-xr-xclang/tools/clang-format/clang-format-diff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/clang-format/clang-format-diff.py b/clang/tools/clang-format/clang-format-diff.py
index 5e728f54716..ffa30e70ddc 100755
--- a/clang/tools/clang-format/clang-format-diff.py
+++ b/clang/tools/clang-format/clang-format-diff.py
@@ -17,7 +17,7 @@ This script reads input from a unified diff and reformats all the changed
lines. This is useful to reformat all the lines touched by a specific patch.
Example usage for git/svn users:
- git diff -U0 HEAD^ | clang-format-diff.py -p1 -i
+ git diff -U0 --no-color HEAD^ | clang-format-diff.py -p1 -i
svn diff --diff-cmd=diff -x-U0 | clang-format-diff.py -i
"""
OpenPOWER on IntegriCloud