Re: git log to use .mailmap by default?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]