From: Junio C Hamano Date: Wed, 20 Oct 2010 06:10:38 GMT Subject: Re: Highlighting whitespace on removal with git diff Message-ID: <7v4ochxuld.fsf@alter.siamese.dyndns.org> In-Reply-To: Kevin Ballard 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".