Re: Highlighting whitespace on removal with git diff
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 20, 2010, 06:10 UTC
- Message-ID
- <7v4ochxuld.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <D058D986-2A83-4979-A461-F7CB34EF9448@sb.org>
Kevin Ballard <kevin@sb.org> writes:
Show 6 quoted lines
> 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".