Git development
 help / color / mirror / Atom feed
* Understanding why Git defaults to show author date and not committer date
@ 2026-07-10 15:08 Omri Sarig
  2026-07-11  8:03 ` Jeff King
  0 siblings, 1 reply; 4+ messages in thread
From: Omri Sarig @ 2026-07-10 15:08 UTC (permalink / raw)
  To: git

Hello,

I've had several discussions with fellow developers, and I found out that many
of them are somewhat confused about the date shown when they look at the Git
log.
In our main workflow, we are mostly using a rebase strategy to get commits into
a main branch, so I can understand their confusion when looking at the default
log view - dates are moving back and forth, and it's not possible to know when a
commit was introduced to the main branch.
I understand this is one of many workflows, but in my personal experience, I
find that in most workflows, the committer date is the one that I find relevant.

Within our teams, we usually end up creating aliases/updating configuration to
make the Git log show the committer date by default, and find that it makes the
log/commit viewing easier to understand for non-super-users.

I understand the distinction between the 2 formats, and I can see the utility of
both. I'm curious about the decision to show the author date and not the
committer date as default one in Git commands.
Are there some workflows where the author date is more relevant, or is that
mostly a legacy decision?

I'd be interested in hearing about workflows where the author date is the more
useful one, as I use the committer date almost always.

I've tried to look for information regarding this decision (both in the
documentation and through the mailing list), but couldn't find any discussion.

Looking forward to hearing your thoughts,
/ Omri Sarig

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-07-12  8:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-10 15:08 Understanding why Git defaults to show author date and not committer date Omri Sarig
2026-07-11  8:03 ` Jeff King
2026-07-11 20:54   ` Junio C Hamano
2026-07-12  8:45     ` Oswald Buddenhagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox