From: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
To: Piotr Krukowiecki <piotr.krukowiecki@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: A better git diff --word-diff (--word-diff-regex) ?
Date: Mon, 19 Mar 2012 10:47:39 +0100 [thread overview]
Message-ID: <vpqvcm0exc4.fsf@bauges.imag.fr> (raw)
In-Reply-To: <CAA01CsrJ12LmNYe6ujnDsZecJcGc8mFaB=1GC8-RZzvMYbYuUw@mail.gmail.com> (Piotr Krukowiecki's message of "Mon, 19 Mar 2012 10:44:31 +0100")
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/
next prev parent reply other threads:[~2012-03-19 9:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-19 9:44 A better git diff --word-diff (--word-diff-regex) ? Piotr Krukowiecki
2012-03-19 9:47 ` Matthieu Moy [this message]
2012-03-19 16:54 ` Piotr Krukowiecki
2012-03-19 9:50 ` Thomas Rast
2012-03-19 17:06 ` Piotr Krukowiecki
2012-03-19 9:58 ` Johannes Sixt
2012-03-19 15:10 ` Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vpqvcm0exc4.fsf@bauges.imag.fr \
--to=matthieu.moy@grenoble-inp.fr \
--cc=git@vger.kernel.org \
--cc=piotr.krukowiecki@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.