{"thread":{"id":"58655","subject":"git-send-email adds a second From: in the body if eml contains one already","startedAt":"2022-10-20T08:56:26Z","lastAt":"2022-10-20T08:56:26Z","messageCount":1,"participants":["Quentin Schulz"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"465283","messageId":"09e125ea-5ea5-40c8-575e-57cb7e1806ff@theobroma-systems.com","threadId":"58655","inReplyTo":null,"subject":"git-send-email adds a second From: in the body if eml contains one already","fromName":"Quentin Schulz","fromEmail":"quentin.schulz@theobroma-systems.com","sentAt":"2022-10-20T08:56:16Z","receivedAt":"2022-10-20T08:56:26Z","isPatch":false,"sender":{"key":"quentin.schulz@theobroma-systems.com","avatar":null},"body":"Hi,\n\nI recently encountered some issue with my particular setup.\n\nhttps://lore.kernel.org/lkml/20221019-upstream-puma-sd-40mhz-v1-0-754a76421518@theobroma-systems.com/raw \nis the problematic mail, note the two From: lines in the mail body.\n\nThis particular patch has a git author (Jakob) different from my local \ngit identity (Quentin Schulz <quentin.schulz at theobroma-systems.com>) \nwhich is different from the sendemail.from configuration (Quentin Schulz \n<foss+kernel at 0leil.net>).\n\nI created an eml file with `b4 send --output-dir dir` which gives the \nfollowing:\n\n```\nFrom: Quentin Schulz <quentin.schulz@theobroma-systems.com>\nDate: Wed, 19 Oct 2022 17:41:28 +0200\nSubject: [PATCH] arm64: dts: rockchip: lower rk3399-puma-haikou SD \ncontroller\n  clock frequency\nMIME-Version: 1.0\nContent-Type: text/plain; charset=\"utf-8\"\nContent-Transfer-Encoding: 8bit\nMessage-Id: \n<20221019-upstream-puma-sd-40mhz-v1-0-78f7eded8a11@theobroma-systems.com>\nTo: [snip]\nCc: [snip]\nX-Mailer: b4 0.11.0-dev-ce3c3\n\nFrom: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>\n\n[snip]\n```\n\ngit config sendemail.from is set to:\nQuentin Schulz <foss+kernel@0leil.net>\n\nI sent the patch with `git send-email mail.eml`.\n\nI initially reported to the b4 community but was advised to also fill a \nbug to git tool since it is believed a second From: shouldn't make it to \nthe mail if there's already one. See b4 bug report: \nhttps://lore.kernel.org/tools/9bdb42f7-661a-77ed-97e5-33ba7a31fd9e@theobroma-systems.com/\n\nI'm using git version 2.37.3, the latest in Fedora package feed for F36.\n\nLet me know if I can clarify some things or help debug/test stuff,\nCheers,\nQuentin\n"}]}