Re: [PATCH 3/3] cat-file: add mailmap support
- From
Christian Couder <christian.couder@gmail.com>
- Date
- Jul 7, 2022, 09:15 UTC
- Message-ID
- <CAP8UFD3ohjS0p02SKwqKWBK1=sVuC9+iDT4at2R9ktCUXme9rA@mail.gmail.com>
- In-Reply-To
- <xmqqletddegb.fsf@gitster.g>
On Thu, Jun 30, 2022 at 11:33 PM Junio C Hamano <gitster@pobox.com> wrote:
Show 6 quoted lines
> Independent of what this "The output from 'cat-file commit' is > tweaked" feature, I wonder if we want a command that can be used as > a filter. Just like "git name-rev --stdin" reads a stream of text, > finds commit-looking references in it, and annotates them, the > command (e.g. "git mailmap") would find ident-looking strings and > replaces with the mapped results, or something.
Yeah, that might be useful. Especially one issue is that trailers like "Reviewed-by: ...", "Helped-by: ..." are interesting for statistics and replacing their content with mapped results could help improve the stats.
Related to this, I wonder if `git interpret-trailers` should have a simple way to map trailer content.