{"thread":{"id":"32069","subject":"git log to use .mailmap by default?","startedAt":"2012-11-11T12:13:19Z","lastAt":"2012-11-12T23:18:15Z","messageCount":2,"participants":["Jason Timrod","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"202819","messageId":"1352635999.79618.YahooMailNeo@web160306.mail.bf1.yahoo.com","threadId":"32069","inReplyTo":null,"subject":"git log to use .mailmap by default?","fromName":"Jason Timrod","fromEmail":"jtimrod@yahoo.com","sentAt":"2012-11-11T12:13:19Z","receivedAt":"2012-11-11T12:13:19Z","isPatch":false,"sender":{"key":"jtimrod@yahoo.com","avatar":null},"body":"Hi,\n\nI 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.\n\nWhy is this?  Why doesn't git-log honour this by default like git-shortlog does?\n\nWould there be a way of making .mailmap be the default without needing a pretty option each time to redefine the default?\n\nTIA!\n\nJason\n"},{"id":"203018","messageId":"20121112231815.GE10531@sigill.intra.peff.net","threadId":"32069","inReplyTo":"1352635999.79618.YahooMailNeo@web160306.mail.bf1.yahoo.com","subject":"Re: git log to use .mailmap by default?","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2012-11-12T23:18:15Z","receivedAt":"2012-11-12T23:18:15Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Sun, Nov 11, 2012 at 04:13:19AM -0800, Jason Timrod wrote:\n\n> I note that when defining a .mailmap file, that it's honoured by\n> git-shotlog(1) by default, but for git-log(1) I have to define an\n> entirely new --pretty= formatting option to use it.\n> \n> Why is this?  Why doesn't git-log honour this by default like\n> git-shortlog does?\n> \n> Would there be a way of making .mailmap be the default without needing\n> a pretty option each time to redefine the default?\n\nI think it's mostly hysterical raisins. Mailmap grew as a shortlog\nfeature, and then only later became available via custom format\nspecifiers like \"%aN\", in git-blame, etc. And nobody ever updated the\nstock formats.\n\nIt would make sense to me to add an option to do so, and probably to\nturn it on by default for normal human-consumed formats, but probably\nnot for \"--pretty=raw\".\n\n-Peff\n"}]}