On Wed, 06 Feb 2013 10:16:21 -0800 Junio C Hamano <[email protected]> wrote:
JCH> I'd suggest to just drop that "try to write without braces" entirely.
OK, I'll do it on the reroll, or you can just make the change directly.
I agree it was not going anywhere :)
Ted
diff --git a/Documentation/CodingGuidelines b/Documentation/CodingGuidelines
index 951d74c..857f4e2 100644
--- a/Documentation/CodingGuidelines
+++ b/Documentation/CodingGuidelines
@@ -187,10 +187,6 @@ For Perl 5 programs:
- use strict and use warnings are strongly preferred.
- - As in C (see above), we avoid using braces unnecessarily (but Perl forces
- braces around if/unless/else/foreach blocks, so this is not always
possible).
- At least make sure braces do not sit on their own line, like with C.
-
- Don't abuse statement modifiers--they are discouraged. But in general:
... do something ...
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html