Re: [PATCH 6/7] parse_color: recognize "no$foo" to clear the $foo attribute

2014-11-20 Thread Junio C Hamano
Jeff King writes: > You can turn on ANSI text attributes like "reverse" by > putting "reverse" in your color spec. However, you cannot > ask to turn reverse off. > > For common cases, this does not matter. You would turn on > "reverse" at the start of a colored section, and then clear > all attri

[PATCH 6/7] parse_color: recognize "no$foo" to clear the $foo attribute

2014-11-20 Thread Jeff King
You can turn on ANSI text attributes like "reverse" by putting "reverse" in your color spec. However, you cannot ask to turn reverse off. For common cases, this does not matter. You would turn on "reverse" at the start of a colored section, and then clear all attributes with a "reset". However, yo