git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.

Previous: Jakub Narebski
Message 3 of 3 in “diff.c: second war on whitespace.”
  1. 1/2 diff.c: second war on whitespace.Junio C Hamano, Sep 23, 2006
  2. Jakub NarebskiSep 23, 2006
  3. Junio C HamanoSep 23, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.