diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2016-12-03 23:22:45 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2016-12-03 23:22:45 +0000 |
commit | f421403650fa2ed5247efa66683283d2cfc0adf1 (patch) | |
tree | 6995a21b6021aaa82a031f3eb6a3f889d43dacb2 /clang/docs | |
parent | c819d0169df3025eee2823ab1fe956d79d07205b (diff) | |
download | bcm5719-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/docs')
-rw-r--r-- | clang/docs/ClangFormat.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/docs/ClangFormat.rst b/clang/docs/ClangFormat.rst index 3f52b767e3a..dc1e2b9a763 100644 --- a/clang/docs/ClangFormat.rst +++ b/clang/docs/ClangFormat.rst @@ -184,7 +184,7 @@ So to reformat all the lines in the latest :program:`git` commit, just do: .. code-block:: console - git diff -U0 HEAD^ | clang-format-diff.py -i -p1 + git diff -U0 --no-color HEAD^ | clang-format-diff.py -i -p1 In an SVN client, you can do: |