Re: [PATCH 1/2] diff.c: second war on whitespace.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Sep 23, 2006, 09:37 UTC
- Message-ID
- <7vzmcqudni.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <ef2u05$f29$1@sea.gmane.org>
Jakub Narebski <jnareb@gmail.com> writes:
Show 14 quoted lines
> Junio C Hamano wrote: > >> gmane.comp.version-control.git >> This adds DIFF_WHITESPACE color class (default = reverse red) to >> colored diff output to let you catch common whitespace errors. >> >> - trailing whitespaces at the end of line >> - a space followed by a tab in the indent > > In gitweb/gitweb.perl, around %feature hash definition, we have: > > <TAB> # <SP> <TAB> 'sub' ... > > and I think that is exception to the "no space followed by tab" rule.
Read the description again. No space IN INDENT that is followed by tab.