5 ms·
> You can’t count on commit times to demonstrate anything. Very extreme stance! Especially for so deep in thread. Sometimes it’s nice to make your ideas more s
by erikpukinskis 7y ago
> You can’t count on commit times to demonstrate anything.
Very extreme stance! Especially for so deep in thread. Sometimes it’s nice to make your ideas more specific as you go deeper in conversation, not just radicalize and double down.
- dahart 7y agoInteresting; I don’t consider what I said extreme or radical at all. I’ll rephrase it into a question: what do you claim that commit time demonstrates, considering that commit times can and do in practice very often change immediately prior to push?
- irishcoffee 7y agoHow can a commit time change?
- dahart 7y agoIt's a different commit. I was talking about introducing and then pushing new commits with different timestamps than the original, not somehow modifying timestamps on a specific commit. The commit that gets pushed can, and often does, have a different timestamp than the timestamp on the commit when the code was written.
- gitrebase 7y agogit commit --amend changes author time. git commit --amend --reset-author changes both author time and commit time. git rebase changes commit time. All three commands can be used just before a merge and push to clean things up. So there is no guarantee that the author time or commit time we see in the final commit history accurately represents the actual time at which the work was done.
- erikpukinskis 7y agoCommit time has some correlation with when code is written. It’s not perfect, but for me personally it’s usually close. Whether that correlation models reality closely enough to be useful depends. My understanding of your “commit time demonstrates nothing” assertion is that you are saying there is no useful information there, which seemed like a radical position for so deep in the thread.