git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Why is AuthorDate displayed on git-blame?

From
נסנעם סולוביצ'יק <inoamsol@gmail.com>
Date
Aug 5, 2020, 00:18 UTC
Message-ID
<CAAWR3A9po-zMVFdQfDs6R5F_rf0UvSyfByLj-vYZiXLb8+j4Ug@mail.gmail.com>

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?

Next: Junio C Hamano
Message 1 of 10 in “Why is AuthorDate displayed on git-blame?”
  1. נעם סולוביצ'יקAug 5, 2020
  2. Junio C HamanoAug 5, 2020
  3. Raymond E. PascoAug 6, 2020
  4. Noam SoloveichikAug 6, 2020
  5. Raymond E. PascoAug 6, 2020
  6. Junio C HamanoAug 6, 2020
  7. blame-options.txt: document --first-parent optionRaymond E. Pasco, Aug 6, 2020
  8. Jeff KingAug 8, 2020
  9. brian m. carlsonAug 5, 2020
  10. Junio C HamanoAug 5, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.