Re: [PATCH 2/3] git-apply: complain about >=8 consecutive spaces in initial indent
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 17, 2007, 00:24 UTC
- Message-ID
- <7vy7f63zr4.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <1189982942187-git-send-email-bfields@citi.umich.edu>
"J. Bruce Fields" <bfields@citi.umich.edu> writes:
Show 5 quoted lines
> Complain if we find 8 spaces or more in a row as part of the initial > whitespace on a line, and (with --whitespace=stripspace) replace such by > a tab. > > Well, linux's checkpatch.pl complains about this sort of thing.
Some people program in Python, so I am afraid that this needs to be a separate option.
Maybe it is time to redo the --whitespace options as bitmasks so that we can say --whitespace-fix=tab,tail,lines to pick and choose which kinds of breakage to fix?