ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
Zbigniew Jędrzejewski-Szmek 62fe94
From 3fdbc8205885f117b7dea289b44217310663e731 Mon Sep 17 00:00:00 2001
Zbigniew Jędrzejewski-Szmek 62fe94
From: Lennart Poettering <lennart@poettering.net>
Zbigniew Jędrzejewski-Szmek 62fe94
Date: Thu, 21 Aug 2014 16:10:37 +0200
Zbigniew Jędrzejewski-Szmek 62fe94
Subject: [PATCH] CODING_STYLE: document that we don't break lines at 80ch
Zbigniew Jędrzejewski-Szmek 62fe94
Zbigniew Jędrzejewski-Szmek 62fe94
---
Zbigniew Jędrzejewski-Szmek 62fe94
 CODING_STYLE | 5 ++++-
Zbigniew Jędrzejewski-Szmek 62fe94
 1 file changed, 4 insertions(+), 1 deletion(-)
Zbigniew Jędrzejewski-Szmek 62fe94
Zbigniew Jędrzejewski-Szmek 62fe94
diff --git a/CODING_STYLE b/CODING_STYLE
Zbigniew Jędrzejewski-Szmek 62fe94
index ca3b5183f9..a3fc26c1e1 100644
Zbigniew Jędrzejewski-Szmek 62fe94
--- a/CODING_STYLE
Zbigniew Jędrzejewski-Szmek 62fe94
+++ b/CODING_STYLE
Zbigniew Jędrzejewski-Szmek 62fe94
@@ -1,6 +1,9 @@
Zbigniew Jędrzejewski-Szmek 62fe94
-
Zbigniew Jędrzejewski-Szmek 62fe94
 - 8ch indent, no tabs
Zbigniew Jędrzejewski-Szmek 62fe94
 
Zbigniew Jędrzejewski-Szmek 62fe94
+- Don't break code lines too eagerly. We do *not* force line breaks at
Zbigniew Jędrzejewski-Szmek 62fe94
+  80ch, all of today's screens should be much larger than that. But
Zbigniew Jędrzejewski-Szmek 62fe94
+  then again, don't overdo it, ~140ch should be enough really.
Zbigniew Jędrzejewski-Szmek 62fe94
+
Zbigniew Jędrzejewski-Szmek 62fe94
 - Variables and functions *must* be static, unless they have a
Zbigniew Jędrzejewski-Szmek 62fe94
   prototype, and are supposed to be exported.
Zbigniew Jędrzejewski-Szmek 62fe94