On 2020-08-05 at 00:18:43, נעם סולוביצ'יק wrote: > Hey everybody, I wonder about the decision behind git-blame and > git-annotate date that is being shown. > > If I understand correctly, the AuthorDate is displayed, and I'd like > to challenge that decision. Consider the following case: > > A feature branch having commits authored last week, but merged to the > main branch just today. And to the sake of discussion, let's say that > the branch has a bug. > > When someone encounters the bug on the main branch, he would probably > want to know when it was introduced - the date when the bug started > to affect him. However, git-blame only shows him when the bug was > originally authored, in our case - *last-week*, which is confusing > since the main branch was working just fine back then. > > So I wonder why was AuthorDate the date chosen to be displayed under > git-blame? I can't speak for the original author of this, and I think Junio's answer explains this well, but I'd like to add an additional thought on why the current behavior is useful. For me, I am primarily interested in using blame to find information about the party most knowledgable about the subsystem or area, or to find a commit that introduced a change (possibly so I can read its commit message or pull request). I'm less likely to use blame to, well, blame people. Consequently, it's often helpful for me to know about when the code was written, since that tells me more about the author and their situation than the committer information does. For a project like Git, the committer information would not be very interesting to me, since Junio, while very competent, is not the expert for every line in the codebase. Since we're displaying the author name, we might as well display the author timestamp as well. I'm in favor of an option for this, though. -- brian m. carlson: Houston, Texas, US