diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-01-16 20:03:38 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-01-16 20:03:38 +0900 |
commit | 633ef73519c695ccb254e3d5ed17c419f8737c79 (patch) | |
tree | 0e172c91d5abf65129d17c727152c0264d4302c7 /HACKING.rst | |
parent | bc0f6cd53403bcf487b8fbc42905a33bac618e42 (diff) | |
download | buildstream-633ef73519c695ccb254e3d5ed17c419f8737c79.tar.gz |
HACKING.rst: Added instructions to properly format commit messages.
Diffstat (limited to 'HACKING.rst')
-rw-r--r-- | HACKING.rst | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/HACKING.rst b/HACKING.rst index c7724f8e9..fd8931305 100644 --- a/HACKING.rst +++ b/HACKING.rst @@ -45,6 +45,26 @@ makes bisections more easy to perform, but is not always practical with more complex branches. +Commit Messages +~~~~~~~~~~~~~~~ +Commit messages must be formatted with a brief summary line, optionally +followed by an empty line and then a free form detailed description of +the change. + +The summary line must start with what changed, followed by a colon and +a very brief description of the change. + +**Example**:: + + element.py: Added the frobnicator so that foos are properly frobbed. + + The new frobnicator frobnicates foos all the way throughout + the element. Elements that are not properly frobnicated raise + an error to inform the user of invalid frobnication rules. + + This fixes issue #123 + + Coding Style ------------ Coding style details for BuildStream |