3 ms·
The diff shows you what changed. The commit message is a comment on the diff and absolutely should say what it's for. This enables you to easily compile releas
by pjc50 12y ago
The diff shows you what changed. The commit message is a comment on the diff and absolutely should say what it's for.
This enables you to easily compile release notes, for example.
- davexunit 12y agoYes, it should say what it's for, but it shouldn't need to explain itself any further. Sorry if I didn't make that clear. For example, if someone refactored something, the commit log can simply say "Factorize foo", it need not explain why they were refactoring in the first place.