Just a guess, but I think it's because the message should indicate what the commit itself does, not what _you_ did to write it. For example, by merging this commit, the result is that I "Add X widget" to my code.
This is exactly how I describe this idea to people. I tell them to complete the following sentence. "Applying this change set will...". I've recently become less averse to verbs like fixes, updates adds, etc as I feel the sentence "The change set..." is still pretty good. The key, obviously, being you're describing the change set, not your actions.
Re:Writing good commit messages
by brittohalloran on Friday July 20, 2012 @11:28AM
(#4271189)
I think of cherry picking commits as a good scenario where this wording makes sense: "I want to... fix A, then add feature B, then change x"
It's to keep in form with some automatic git messages (like merge) that output in that tense. Also that is the tense the Git project committers use themselves.
See: http://stackoverflow.com/questions/3580013/should-i-use-past...
Also the past repeats: http://news.ycombinator.com/item?id=2079612
For a good laugh: http://whatthecommit.com/
Well, for one, 2-3 characters shorter ('fix' vs 'fixes', 'fixed', or 'fixing')
So far these responses don't convince me there is any advantage.
It makes more sense to me that the trouble ticket ticket should be written in the imperative and the commit message should be past tense.
Why is better to write in that form?