Re: [PATCH 2/2] revision: handle argv movement in parse_revision_opt()
- From
- Kristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
- Date
- Sep 29, 2026, 07:43 UTC
- Message-ID
- <7ffbbf0b-4954-4ee8-863c-4ca89ae662c6@app.fastmail.com>
- In-Reply-To
- <20260928032553.GA493672@coredump.intra.peff.net>
On Mon, Sep 28, 2026, at 05:25, Jeff King wrote:
> On Sat, Sep 26, 2026 at 11:00:05AM +0200, Kristoffer Haugsbakk wrote: >> I ought to send in a `.mailmap` change with my canonical email address. > > We don't mailmap trailers, though. [...]
Yes, that’s the reason. There’s no dynamic remapping after the fact. But with a mailmap entry you can ask git-check-mailmap(1) if you have the correct entry while writing or normalizing the commit.
I had use for that once when I was collecting `Reported-by`. One report was from three years prior. But in the meantime, this person had changed their address. But they had recorded it in the `.mailmap`.
But for such a normalization to be workable at all I would have to try to add something like `--evaluate-all-cmds` to git-interpret- trailers(1). Because `trailer.<key-alias>.cmd` will not evaluate trailer values if it is just reading in a file without any `--trailer` options (as well).
***
Which is an itch that no one else has to care about.