Re: [RFC] Add the --color-words option to the diff options family

From: Junio C Hamano <junkio@cox.net>
Date: 2006-07-31 20:54:25
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:

> With this option, the changed words are shown inline. For example,
> if a file containing "This is foo" is changed to "This is bar", the diff
> will now show "This is " in plain text, "foo" in red, and "bar" in green.
>
> Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>

This looks sooooooooooo strange (and I do not particularly like
colours, so I am biased).  We might want to disable it when the
output would not be colored under diff.color = auto, at least,
but if the user asks to shoot himself in the foot that is fine
as well ;-).


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Jul 31 21:04:25 2006

This archive was generated by hypermail 2.1.8 : 2006-07-31 21:07:54 EST