Merge branch 'rs/c-auto-resets-attributes' into maint
authorJunio C Hamano <redacted>
Fri, 28 Oct 2016 16:01:11 +0000 (09:01 -0700)
committerJunio C Hamano <redacted>
Fri, 28 Oct 2016 16:01:11 +0000 (09:01 -0700)
When "%C(auto)" appears at the very beginning of the pretty format
string, it did not need to issue the reset sequence, but it did.
This is a small optimization to already graduated topic.

* rs/c-auto-resets-attributes:
  pretty: avoid adding reset for %C(auto) if output is empty
  pretty: let %C(auto) reset all attributes

1  2 
pretty.c

diff --cc pretty.c
Simple merge
git clone https://git.99rst.org/PROJECT