diff options
author | Andrew Wong <andrew.kw.w@gmail.com> | 2013-07-18 18:58:04 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-07-19 11:20:28 -0700 |
commit | 7f3b8c628eaea8ccbe83f605b00d629553b70b42 (patch) | |
tree | 59901974c510ee564a76de1c18af7832a4298de3 /Documentation/git-fetch.txt | |
parent | make color.ui default to 'auto' (diff) | |
download | tgif-7f3b8c628eaea8ccbe83f605b00d629553b70b42.tar.xz |
git add -e: Explicitly specify that patch should have no color
After 4c7f1819 (make color.ui default to 'auto', 2013-06-10), the
patch file to be edited during 'git add -e' receives all the color
codes. This is because diffopt.use_color defaults to -1, which
causes want_color to now return 'auto'.
By explicitly setting use_color to 0, we can ensure the diff output
has no color codes in it.
Signed-off-by: Andrew Wong <andrew.kw.w@gmail.com>
Acked-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-fetch.txt')
0 files changed, 0 insertions, 0 deletions