Kyle Meyer writes: > Sarah Morgensen writes: > >> On Tuesday, January 5th, 2021 at 5:01 AM, Kyle Meyer <k...@kyleam.com> wrote: >> >>> add the appropriate "From:" header to the body of each patch. `git am` >>> will take the in-body header over the actual header. >> >> I wonder if there is a way to automate the duplication of the "From" >> header into the body of the patch? > > I'm not aware of an existing way at the git level. Here's the only > discussion I found about it on the git list [...]
Git 2.38.0 gained support for this via a --force-in-body-from option and the associated format.forceInBodyFrom config variable. https://lore.kernel.org/git/20220829213837.13849-1-gits...@pobox.com/