* git log to use .mailmap by default?
@ 2012-11-11 12:13 Jason Timrod
2012-11-12 23:18 ` Jeff King
0 siblings, 1 reply; 2+ messages in thread
From: Jason Timrod @ 2012-11-11 12:13 UTC (permalink / raw)
To: git@vger.kernel.org
Hi,
I note that when defining a .mailmap file, that it's honoured by git-shotlog(1) by default, but for git-log(1) I have to define an entirely new --pretty= formatting option to use it.
Why is this? Why doesn't git-log honour this by default like git-shortlog does?
Would there be a way of making .mailmap be the default without needing a pretty option each time to redefine the default?
TIA!
Jason
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: git log to use .mailmap by default?
2012-11-11 12:13 git log to use .mailmap by default? Jason Timrod
@ 2012-11-12 23:18 ` Jeff King
0 siblings, 0 replies; 2+ messages in thread
From: Jeff King @ 2012-11-12 23:18 UTC (permalink / raw)
To: Jason Timrod; +Cc: git@vger.kernel.org
On Sun, Nov 11, 2012 at 04:13:19AM -0800, Jason Timrod wrote:
> I note that when defining a .mailmap file, that it's honoured by
> git-shotlog(1) by default, but for git-log(1) I have to define an
> entirely new --pretty= formatting option to use it.
>
> Why is this? Why doesn't git-log honour this by default like
> git-shortlog does?
>
> Would there be a way of making .mailmap be the default without needing
> a pretty option each time to redefine the default?
I think it's mostly hysterical raisins. Mailmap grew as a shortlog
feature, and then only later became available via custom format
specifiers like "%aN", in git-blame, etc. And nobody ever updated the
stock formats.
It would make sense to me to add an option to do so, and probably to
turn it on by default for normal human-consumed formats, but probably
not for "--pretty=raw".
-Peff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-12 23:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-11 12:13 git log to use .mailmap by default? Jason Timrod
2012-11-12 23:18 ` Jeff King
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).