4 ms·
Is there a reason you don't leave a comment with the commit hash of the change instead?
by Hasnep 5y ago
Is there a reason you don't leave a comment with the commit hash of the change instead?
- mjevans 5y agoSome day in the distant future someone will only have a tarball of the source of the last version that worked; if they're lucky. Save that poor sod; have your comments live in your code, not in an SCM system for your code.
- owl57 5y agoGPL has this idea in it: trying to define what exactly should go into that tarball. The question seems meaningful and important even for proprietary code. If some authors assume that anybody modifying their code should be able to look at git commits, that probably simply means that "the preferred form of the work for making modifications to it" is a git repo.
- ratww 5y agoYes, text is better for convenience and for being future-proof. It's like leaving a description of the bug I'm fixing, instead of just a JIRA ticket identifier.