From: Junio C Hamano <gitster@pobox.com>
To: Kevin Ballard <kevin@sb.org>
Cc: Stonky Fandango <stonkyfandango@gmail.com>, git@vger.kernel.org
Subject: Re: Highlighting whitespace on removal with git diff
Date: Tue, 19 Oct 2010 23:10:38 -0700 [thread overview]
Message-ID: <7v4ochxuld.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <D058D986-2A83-4979-A461-F7CB34EF9448@sb.org> (Kevin Ballard's message of "Tue\, 19 Oct 2010 20\:15\:33 -0700")
Kevin Ballard <kevin@sb.org> writes:
> The highlight isn't telling you what changed on the line. It's telling
> you that this added line has trailing whitespace, and your
> core.whitespace config value is set such that this is considered an
> error.
>
> -Kevin Ballard
Which means that, in order to check for a whitespace error you removed in
your change, you can give "-R" (reverse) option to your "git diff".
prev parent reply other threads:[~2010-10-20 6:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-20 0:46 Highlighting whitespace on removal with git diff Stonky Fandango
2010-10-20 3:15 ` Kevin Ballard
2010-10-20 6:10 ` Junio C Hamano [this message]
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=7v4ochxuld.fsf@alter.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=kevin@sb.org \
--cc=stonkyfandango@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.