Re: [docs] [PATCH] contributor-guide: recommend format.forceInBodyFrom

Alexander Kanavin
2024-05-03T09:24:17Z

On Thu, 2 May 2024 at 22:54, Alexander Kanavin via
lists.yoctoproject.org <alex.kanavin=gmail.com@lists.yoctoproject.org>
wrote:
> - git will insert From: into the body when the patch author and
> sendemail.from are not the same (as I set up for myself). It will not
> do this if they are the same, even when --force-in-body-from is added
> or set in a global config. I'm not sure what am I doing wrong, but it
> just doesn't work for me :-/ git is at 2.39.2, so maybe this is fixed
> in later versions?

It's not fixed in later versions. It seems that the force option only
has an effect together with --from on the command line, and otherwise
does nothing. Which I would say is a defect in git, and even if fixed,
the fix will take a while to become widely available.

Does that match your outcomes?

Alex