summaryrefslogtreecommitdiffstats
path: root/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
commit135e2ef91ad3b7d3c99960a13f72fba01d23845a (patch)
tree932fee58013411442221cdd3a05aee02e65e42f6 /tools/clang-format
parent98c02f7b12032e9fe7ae626f4f51def2bbf3050a (diff)
Add the --no-color option to the git call in the doc when using clang-format-diff
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288605 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/clang-format')
-rwxr-xr-xtools/clang-format/clang-format-diff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/clang-format/clang-format-diff.py b/tools/clang-format/clang-format-diff.py
index 5e728f5471..ffa30e70dd 100755
--- a/tools/clang-format/clang-format-diff.py
+++ b/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
"""