]> git.ipfire.org Git - thirdparty/git.git/commit - pretty.c
pretty: let %C(auto) reset all attributes
authorRené Scharfe <l.s.r@web.de>
Sat, 17 Sep 2016 18:25:24 +0000 (20:25 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Sep 2016 17:50:32 +0000 (10:50 -0700)
commitc99ad274b196bc97f22c1c39178784668cb4623d
tree6c3ebbcffc1d0c3a33cace1b46fa0539e211090a
parentb15a3e005af07843116c73205742adfbab3d2e82
pretty: let %C(auto) reset all attributes

Reset colors and attributes upon %C(auto) to enable full automatic
control over them; otherwise attributes like bold or reverse could
still be in effect from previous %C placeholders.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pretty.c
t/t6006-rev-list-format.sh