From: Greg Bacon Date: Thu, 19 Nov 2009 22:25:14 GMT Subject: Re: [PATCH] No diff -b/-w output for all-whitespace changes Message-ID: <4B05C5CA.6090408@dbresearch.net> In-Reply-To: <200911192314.41542.trast@student.ethz.ch> Thomas Rast wrote > Judging from the test, this parses as > > Change git-diff's whitespace-ignoring modes to generate > output only if a non-(empty patch, which git-apply > rejects) results. > > which is a bit weird, isn't it? :-) Yes, rotten wording. I meant git-apply rejects empty patches, so let's not do that! I chose this route rather than making git-apply more forgiving because as currently implemented, git-diff is not entirely ignoring whitespace when commanded to do so. Greg