]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'et/pretty-format-c-auto'
authorJunio C Hamano <gitster@pobox.com>
Mon, 20 Jun 2016 18:01:01 +0000 (11:01 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Jun 2016 18:01:01 +0000 (11:01 -0700)
The commands in `git log` family take %C(auto) in a custom format
string.  This unconditionally turned the color on, ignoring
--no-color or with --color=auto when the output is not connected to
a tty; this was corrected to make the format truly behave as
"auto".

* et/pretty-format-c-auto:
  format_commit_message: honor `color=auto` for `%C(auto)`

1  2 
pretty.c

diff --cc pretty.c
Simple merge