3 ms·
I think the "imperative" here is actually better understood as the bare infinitive. (Of course, the two are morphologically identical in English, so you can't s
by foldr 14y ago
I think the "imperative" here is actually better understood as the bare infinitive. (Of course, the two are morphologically identical in English, so you can't see the difference.) My guess is that in a language with a morphologically distinct imperative form, it would sound downright weird to put the commit message in the imperative, but it would sound fine to use the infinitive. For example, Spanish has a distinct imperative, but I've noticed that signs, instructions on shampoo bottles, etc., generally use the infinitive.
- bgilroy26 14y agoWhile I agree with your analysis, an alternative view is that a commit message in the imperative form would pair well with the code fix. With a bit of revisionism it reads like a wizard's incantation: fix bug! ::code that fixes bug:: add feature! ::code that adds feature:: add documentation! ::comments etc.:: After all, in an ideal world, every code change would simply be the execution of the whiteboard/pencil-and-paper/planning that precedes it.