summaryrefslogtreecommitdiff
path: root/builtin/interpret-trailers.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-10-28 09:01:11 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-10-28 09:01:11 -0700
commit76796d424a21b1def8752c686708253a45721381 (patch)
treefb169e712c83491940513d4228aff82984a2c5a2 /builtin/interpret-trailers.c
parentMerge branch 'yk/git-tag-remove-mention-of-old-layout-in-doc' into maint (diff)
parentpretty: avoid adding reset for %C(auto) if output is empty (diff)
downloadtgif-76796d424a21b1def8752c686708253a45721381.tar.xz
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
Diffstat (limited to 'builtin/interpret-trailers.c')
0 files changed, 0 insertions, 0 deletions