From: Matthias Lederhofer <matled@gmx.net>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: [RFC] Add the --color-words option to the diff options family
Date: Sun, 30 Jul 2006 02:57:00 +0200 [thread overview]
Message-ID: <E1G6zc4-0007PC-9j@moooo.ath.cx> (raw)
In-Reply-To: <Pine.LNX.4.63.0607282354450.29667@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> 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>
>
> ---
>
> I am probably the only person who finds it useful, but there
> is a high coolness factor attached to it.
>
> And the libxdiff library actually made it very easy to do. (Yes,
> there are two nested calls to xdiff...)
I'd probably find it more useful if it would still show two lines but
only the relevant part in red/green.
next prev parent reply other threads:[~2006-07-30 0:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-28 21:56 [RFC] Add the --color-words option to the diff options family Johannes Schindelin
2006-07-30 0:57 ` Matthias Lederhofer [this message]
2006-07-30 9:36 ` Johannes Schindelin
2006-07-31 10:54 ` Junio C Hamano
2006-07-31 11:00 ` Johannes Schindelin
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=E1G6zc4-0007PC-9j@moooo.ath.cx \
--to=matled@gmx.net \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox