git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] log: use mailmap by default

From
Ariadne Conill <ariadne@dereferenced.org>
Date
Jul 11, 2019, 16:25 UTC
Message-ID
<CAAOiGNzXreYk9xoVOFkcivrXK4QkH495T7Lq76j3oz593rSzDQ@mail.gmail.com>
In-Reply-To
<20190711151900.GI9224@genre.crustytoothpaste.net>
Hello,

On Thu, Jul 11, 2019 at 10:19 AM brian m. carlson <sandals@crustytoothpaste.net> wrote:

Show 20 quoted lines
>
> On 2019-07-11 at 08:19:58, Ariadne Conill wrote:
> > The `git log` command shows the author and committer name recorded in
> > the git repository itself, while other commands respect `.mailmap`
> > by default.  I believe this is a bad design: it causes log entries to
> > reflect inaccurate information: anyone who changes their name or
> > e-mail address will not have that change (recorded in mailmap file)
> > reflected when using `git log` by default.
> >
> > Anyone who explicitly wants the current behaviour can clearly request
> > it by setting the `log.mailmap` setting to `false` in their
> > `.gitconfig` file.
>
> While I'm in favor of using the mailmap by default, typically we want a
> way people can override a default setting from the command line.
>
> So in this case, we have "--use-mailmap", but we don't have a
> "--no-use-mailmap" (at least, it's not documented in the manpage). I
> think we'd want to add such an option so that people can set it if they
> need non-default behavior.

I agree that there is probably some useful reasons to have this option, so I can add an option that forces mailmap usage off to supplement the --use-mailmap option. It's no problem. I will generate a new patch series in a few minutes.

Thanks for reviewing!
Ariadne
Previous: brian m. carlsonNext: Martin Ågren
Message 3 of 5 in “log: use mailmap by default”
  1. log: use mailmap by defaultAriadne Conill, Jul 11, 2019
  2. brian m. carlsonJul 11, 2019
  3. Ariadne ConillJul 11, 2019
  4. Martin ÅgrenJul 11, 2019
  5. Ariadne ConillJul 11, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.