summaryrefslogtreecommitdiffstats
path: root/docs/manual
diff options
context:
space:
mode:
authorThomas De Schampheleire <patrickdepinguin@gmail.com>2014-03-06 11:07:35 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-03-06 18:27:47 +0100
commit4319fbeff2c1809a210e9ff93f950be58da11172 (patch)
tree57f331e90dc65e7b0b9443ab3888d22d8140d9fe /docs/manual
parent1c97e35f9b64c25cf0f4f293def5d1b67b9bdb0d (diff)
downloadbuildroot-4319fbeff2c1809a210e9ff93f950be58da11172.tar.gz
buildroot-4319fbeff2c1809a210e9ff93f950be58da11172.zip
manual: contributing: modify commit message template
This patch updates the commit message template provided in the manual. The new template emphasizes the importance of providing a description of the problem, the root cause, and the solution, and the fact that all this should be wrapped at 72 characters. Suggested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'docs/manual')
-rw-r--r--docs/manual/contribute.txt15
1 files changed, 11 insertions, 4 deletions
diff --git a/docs/manual/contribute.txt b/docs/manual/contribute.txt
index 9eca69143a..52d4d04296 100644
--- a/docs/manual/contribute.txt
+++ b/docs/manual/contribute.txt
@@ -244,13 +244,20 @@ be preserved forever in the +git+ history of the project.
Hereafter the recommended layout:
---------------
-Patch title less than 80-character length
+Patch title: short explanation, max 72 chars
-A paragraph giving more details.
+A paragraph that explains the problem, and how it manifests itself. If
+the problem is complex, it is OK to add more paragraphs. All paragraphs
+should be wrapped at 72 characters.
-And yet another paragraph giving more details.
+A paragraph that explains the root cause of the problem. Again, more
+than on paragraph is OK.
+
+Finally, one or more paragraphs that explain how the problem is solved.
+Don't hesitate to explain complex solutions in detail.
+
+Signed-off-by: John DOE <john.doe@example.net>
-Signed-off-by: John Doe <john.doe@noname.org>
---
Changes v2 -> v3:
- foo bar (suggested by Jane)
OpenPOWER on IntegriCloud