[epiphany] Update HACKING.md to tweak the braces rule for one-line control clauses
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Update HACKING.md to tweak the braces rule for one-line control clauses
- Date: Wed, 19 Dec 2018 23:34:19 +0000 (UTC)
commit 94af7dc187538c4551fc925cb6caf44be37c9c41
Author: Michael Catanzaro <mcatanzaro posteo net>
Date: Wed Dec 19 23:34:10 2018 +0000
Update HACKING.md to tweak the braces rule for one-line control clauses
HACKING.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/HACKING.md b/HACKING.md
index 31e8ca572..2ca51879c 100644
--- a/HACKING.md
+++ b/HACKING.md
@@ -16,7 +16,8 @@ need to stick to in order to get your patch accepted:
* Use K&R style for the braces.
- * No braces for one line control clauses.
+ * No braces for one line control clauses except when another clause in the
+ chain contains more than one line.
* Callback functions have a suffix _cb.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]