[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070525172509.5138.56430.stgit@localhost.localdomain>
Date: Fri, 25 May 2007 10:25:09 -0700
From: Auke Kok <auke-jan.h.kok@...el.com>
To: randy.dunlap@...cle.com
Cc: auke-jan.h.kok@...el.com, linux-kernel@...r.kernel.org
Subject: [PATCH 1/2] [CodingStyle] Add comment to not put spaces before tabs.
Mixed space/tab indentation is wrong. Ironically this is what the coding
style document actually shows ;)
Signed-off-by: Auke Kok <auke-jan.h.kok@...el.com>
---
Documentation/CodingStyle | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Documentation/CodingStyle b/Documentation/CodingStyle
index afc2867..f518395 100644
--- a/Documentation/CodingStyle
+++ b/Documentation/CodingStyle
@@ -13,7 +13,7 @@ and NOT read it. Burn them, it's a great symbolic gesture.
Anyway, here goes:
- Chapter 1: Indentation
+ Chapter 1: Indentation
Tabs are 8 characters, and thus indentations are also 8 characters.
There are heretic movements that try to make indentations 4 (or even 2!)
@@ -71,6 +71,8 @@ used for indentation, and the above example is deliberately broken.
Get a decent editor and don't leave whitespace at the end of lines.
+Don't put spaces before tabs or mix them.
+
Chapter 2: Breaking long lines and strings
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists