Re: [PATCH] Add gitattributes file making whitespace checking pickier
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 10, 2008, 04:01 UTC
- Message-ID
- <7v8x1t5uk1.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <m363wxhey1.fsf@localhost.localdomain>
Jakub Narebski <jnareb@gmail.com> writes:
Show 5 quoted lines
>> *.py whitespace=!indent,trail,space >> *.el whitespace=!indent,trail,space >> fast-import/git-p4 whitespace=!indent,trail,space > > I would also exclude gitweb/gitweb.perl
Why?
As far as I can tell, Perl does not use Python/Elisp "indents are all whitespace" rule and neither does the script.
It also happens that I do not personally believe in "alignment with spaces" argument. If you accept W and a SP occupy the same horizontal space (which "alignment with spaces" assume), I do not think it is unreasonable to accept HT goes to the next column that is multiple of 8 places.