Re: [PATCH 1/4] gitweb: Whitespace cleanup - tabs are for indent, spaces are for align (2)
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Oct 22, 2006, 21:03 UTC
- Message-ID
- <Pine.LNX.4.64.0610221359090.3962@g5.osdl.org>
- In-Reply-To
- <200610222236.45414.jnareb@gmail.com>
On Sun, 22 Oct 2006, Jakub Narebski wrote:
> > To be true I do those "whitespace cleanup" patches when I notice > that something is mis-aligned for _my_ tab width (2 spaces).
Oh, wow.
You have clearly been damaged by some nasty GNU coding style or similar.
Please immediately turn tabs into 8 character hard-tabs, and read the kernel Documentation/CodingStyle document.
After that, you may have to go to some detox unit to purge yourself of the habit of 2-character indents, and I realize it will be hard and you'll feel like shit for a while, but you'll be a better person for it.
It's like kicking a bad drug habit. It may be painful for a while, and you might wistfully think back on the "happy days" when things went by in a haze of unclear indentations, but really, it's worth it.
Linus