From: Junio C Hamano Date: Fri, 28 Oct 2016 16:01:11 +0000 (-0700) Subject: Merge branch 'rs/c-auto-resets-attributes' into maint X-Git-Tag: v2.10.2~24 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/76796d424a21b1def8752c686708253a45721381 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 --- 76796d424a21b1def8752c686708253a45721381