git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Jeff King <peff@peff.net>
To: Jason Timrod <jtimrod@yahoo.com>
Cc: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: git log to use .mailmap by default?
Date: Mon, 12 Nov 2012 18:18:15 -0500	[thread overview]
Message-ID: <20121112231815.GE10531@sigill.intra.peff.net> (raw)
In-Reply-To: <1352635999.79618.YahooMailNeo@web160306.mail.bf1.yahoo.com>

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

      reply	other threads:[~2012-11-12 23:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-11 12:13 git log to use .mailmap by default? Jason Timrod
2012-11-12 23:18 ` Jeff King [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121112231815.GE10531@sigill.intra.peff.net \
    --to=peff@peff.net \
    --cc=git@vger.kernel.org \
    --cc=jtimrod@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).