Thread (1 message) 1 message, 1 author, 2016-06-15

Re: rfe: git-config: lack of color reset option

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:53:06

Jeff King [off-list ref] writes:
This is an artifact of the way the ANSI colorizing works. Git says "turn
on bold white and a blue background", then it outputs some content, then
it says "turn on green", and so forth. At the end we issue a "reset" to
turn everything back to normal. We should perhaps issue a reset before
outputting the decoration, as we are moving from one colorized bit to
the other, and we don't know what we are inheriting.
Yeah, I agree with the diagnosis and the proposed solution. It sounds
both simple and correct thing to do.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help