Thread (9 messages) flat view 9 messages, 5 authors, 2016-06-15

Re: [PATCH] Add color to git-add--interactive diffs (Take 2: now without spurious line break!)

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:43:41

Hi,

On Sun, 14 Oct 2007, Wincent Colaiuta wrote:
quoted
+sub parse_color {
You could simplify the manual escape sequence construction that you're 
doing here by using Term::ANSIColor like the other patches did. I see 
that git-send-email.perl uses that module too, so I guess depending on 
that module is ok.
Wrong.  Depending on that module is not correct, you always have to wrap 
it into an "if (<is_color>) {...}".

I use git add -i quite often, and I _never_ use git send-email.  My guess 
is that I am not alone with that.

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help