mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
CONTIRBUTING.md: add a note about imperative mood
Add a note in CONTIRBUTING.md that imperative mood is the preferred way to write commit messages. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
0fa6422a04
commit
afc9dd5f38
1 changed files with 3 additions and 0 deletions
|
@ -47,6 +47,9 @@ Signed-off-by: Your Name
|
||||||
|
|
||||||
That header line really should be meaningful, and really should be just one line. The header line is what is shown by tools like gitk and shortlog, and should summarize the change in one readable line of text, independently of the longer explanation.
|
That header line really should be meaningful, and really should be just one line. The header line is what is shown by tools like gitk and shortlog, and should summarize the change in one readable line of text, independently of the longer explanation.
|
||||||
|
|
||||||
|
The prefered way to write a commit message is using imperative mood, e.g. "Make foo do xyz" instead of "This patch makes foo do xyz" or "I made foo do xyz", as if you are giving commands or requests to the code base.
|
||||||
|
https://en.wikipedia.org/wiki/Imperative_mood
|
||||||
|
|
||||||
![gitk sample][10]
|
![gitk sample][10]
|
||||||
|
|
||||||
Example with gitk
|
Example with gitk
|
||||||
|
|
Loading…
Reference in a new issue