On Tue, Sep 09, 2025 at 08:22:05PM +0200, Vlastimil Babka wrote: > On 9/9/25 20:14, Linus Torvalds wrote: > > But yes: please do continue to add links to the original email - IF > > you thought about it. That has always been my standpoint. Exactly like > > "Fixes", and exactly like EVERY SINGLE OTHER THING you add to a commit > > message. > Fine, maybe b4 could help here by verifying if patch-id works on commits in > the maintainer's branch before sending a pr, and for those where it doesn't, > the maintainer can decide to add them. It sounds more useful to me than > adding anything "AI-powered" to it. I think ideally if there's tooling for this it should have both a verification feature like you mention and also be supported by b4 mbox so that you can say "b4 mbox ${COMMIT}" or whatever and have it download a mailbox like can currently be done with a message ID. That'd keep the usability we currently have, the tool could look in the message for a link and use that if it needs it. What might be especially usable for applying/publishing would be something that can be used either in a hook or more likely in scripting that'll take the Message-Ids from git that people currently use to generate the Link: tags and discard them if whatever the tool usually uses to find mail archive links works without them, or rewrite them into Link: tags if not. The tool could emit the warning you suggest when leaving the links in.