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

Re: [PATCH 5/5] log: Add --use-mailmap option

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 12, 2012, 17:58 UTC
Message-ID
<7vd2yf5f01.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CALWbr2xmRVS9m623yrxY88Ftaen_B8Tb2vd+VxhYV1ceAmbDSg@mail.gmail.com>
Antoine Pelisse <apelisse@gmail.com> writes:
Show 7 quoted lines
> On Tue, Dec 11, 2012 at 11:21 PM, Antoine Pelisse <apelisse@gmail.com> wrote:
>> Add the --use-mailmap option to log commands. It allows
>> to display names from mailmap file when displaying logs,
>> whatever the format used.
>
> The question is which log commands actually ?
> Shouldn't we put the option in revision.c::handle_revision_opt instead ?

I was trying to avoid that to make it harder to trigger the "feature" by mistake. The rewriting with mailmap is for human consumption and when we replay the history (e.g. format-patch used as input for am or rebase), we should never be applying it.

Previous: Antoine PelisseNext: Junio C Hamano
Message 10 of 12 in “Allow git log to use mailmap file”
  1. 0/5 Allow git log to use mailmap fileAntoine Pelisse, Dec 11, 2012
  2. 1/5 Use split_ident_line to parse author and committerAntoine Pelisse, Dec 11, 2012
  3. 2/5 mailmap: Remove buffer length limit in map_userAntoine Pelisse, Dec 11, 2012
  4. 3/5 mailmap: Add mailmap structure to rev_info and ppAntoine Pelisse, Dec 11, 2012
  5. 4/5 pretty: Use mailmap to display username and emailAntoine Pelisse, Dec 11, 2012
  6. Junio C HamanoDec 11, 2012
  7. Antoine PelisseDec 12, 2012
  8. 5/5 log: Add --use-mailmap optionAntoine Pelisse, Dec 11, 2012
  9. Antoine PelisseDec 12, 2012
  10. Junio C HamanoDec 12, 2012
  11. Junio C HamanoDec 11, 2012
  12. Rich MidwinterDec 11, 2012

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.