Re: A better git diff --word-diff (--word-diff-regex) ?
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Mar 19, 2012, 09:47 UTC
- Message-ID
- <vpqvcm0exc4.fsf@bauges.imag.fr>
- In-Reply-To
- <CAA01CsrJ12LmNYe6ujnDsZecJcGc8mFaB=1GC8-RZzvMYbYuUw@mail.gmail.com>
Piotr Krukowiecki <piotr.krukowiecki@gmail.com> writes:
> Hi, > > is there a way to configure --word-diff to be a more programming > language friendly?
I often use this:
git diff --color-words=.
It's rather bad on plain text, since it will try to diff within words, but works well on source code.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/