]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'rs/c-auto-resets-attributes' into maint
authorJunio C Hamano <gitster@pobox.com>
Fri, 28 Oct 2016 16:01:11 +0000 (09:01 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 28 Oct 2016 16:01:11 +0000 (09:01 -0700)
commit76796d424a21b1def8752c686708253a45721381
treefb169e712c83491940513d4228aff82984a2c5a2
parent03969dff8f6ab2e399df7e156c72d5b965388d2f
parent82b83da8d30fb8d1f04f7dd7ac769ceb6ab431c3
Merge branch 'rs/c-auto-resets-attributes' into maint

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
pretty.c