Re: [PATCH] Document git-diff whitespace flags -b and -w
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Dec 3, 2006, 18:38 UTC
- Message-ID
- <ekv5k6$1ih$1@sea.gmane.org>
- In-Reply-To
- <Pine.LNX.4.63.0612031908020.28348@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin wrote:
Show 11 quoted lines
> On Sun, 3 Dec 2006, Jakub Narebski wrote: > >> +--ignore-space-change:: >> + Ignore changes in amount of white space. This ignores white >> + space at line end, and consider all other sequences of one or >> + more white space characters to be equivalent. > > Thank you for bringing this up. The latter part is correct, but the first > part not yet. I asked at the time if somebody cares, but got no answer, so > "-b" does _not_ ignore white space at the end of line ATM, but only white > space change. So here is a patch to fix that behaviour:
Alternate solution would be to fix documentation, to document existing code. I used GNU diff documentation, perhaps it is better if we are GNU diff compatibile...
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git