1 |
commit: 8e3e0ac212a3847638c83edc1b752dadbfd5cd9d |
2 |
Author: Alexander Berntsen <bernalex <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 27 12:42:33 2014 +0000 |
4 |
Commit: Alexander Berntsen <bernalex <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 29 00:01:04 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=8e3e0ac2 |
7 |
|
8 |
DEVELOPING: Add note on commit messages |
9 |
|
10 |
--- |
11 |
DEVELOPING | 20 ++++++++++++++++++++ |
12 |
1 file changed, 20 insertions(+) |
13 |
|
14 |
diff --git a/DEVELOPING b/DEVELOPING |
15 |
index 9731610..cfa86a6 100644 |
16 |
--- a/DEVELOPING |
17 |
+++ b/DEVELOPING |
18 |
@@ -175,6 +175,26 @@ change a lot of unrelated things. This makes it easier to see what |
19 |
parts of the system have actually changed. It also makes it easier to |
20 |
cherry-pick and revert commits. Use your common sense! |
21 |
|
22 |
+Commit messages |
23 |
+--------------- |
24 |
+ |
25 |
+Commit messages should be in the imperative mood with a capitalised |
26 |
+header, optionally followed by a newline and a more detailed explanatory |
27 |
+text. The headline should be capped at 50 characters, the detailed text |
28 |
+at 72. Prefix the message with the component you touched if this makes |
29 |
+sense. Postfix the message with the bug it fixes, if it does. Example: |
30 |
+ |
31 |
+" |
32 |
+emerge: Fix --tree output (bug 555555) |
33 |
+ |
34 |
+Make sure newlines appear where they are supposed to. Fix a bug with |
35 |
+colourisation of --tree output when used in tandem with --verbose |
36 |
+--pretend --ask. |
37 |
+" |
38 |
+ |
39 |
+For a more detailed explanation (and rationalisation) of these rules: |
40 |
+<http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html> |
41 |
+ |
42 |
Releases |
43 |
-------- |