Re: [PATCH 1/2] diff: add --word-diff option that generalizes --color-words
- From
Miles Bader <miles@gnu.org>
- Date
- Apr 5, 2010, 18:53 UTC
- Message-ID
- <s2kfc339e4a1004051153yc950b858lb919740f0de80e9@mail.gmail.com>
- In-Reply-To
- <7v6345pwjw.fsf@alter.siamese.dyndns.org>
On Tue, Apr 6, 2010 at 3:46 AM, Junio C Hamano <gitster@pobox.com> wrote:
> I also think --color --word-diff=plain could show "{+new+}" in green and
> "[-old-]" in red and that may make things more consistent.I agree.
For some reason, even though I can see the red and green well enough, I find the current --color-words output hard to parse. The use of _only_ color to distinguish old/new somehow doesn't jive with my brain...
I find _highlighting_ using color very useful, but I think using syntax and color together is better than using just color.
-Miles
-- Do not taunt Happy Fun Ball.