Hacker News new | ask | show | jobs
by mmcnl 6 days ago
Who reads commit messages anyway?
3 comments

I work with legacy code and am regularly reading commit messages from 10-15 years ago while figuring out what was going on several teams past. It's also why I'm against squash-merges, there have been plenty of times a commit was in the middle of a chain of commits and the helpful context would have been erased if we had squashes in svn.
Commit messages are usually more useful than code comments. For one thing they change when the code changes, so they are much less likely to lie.
Maybe more people if the contract is that it’s how you get your work into the release notes?