stgit
stgit copied to clipboard
stg mail: If there's a "---" line in the patch description, put everything after it after the "---" in the email
When sending Linux kernel patches, the patch changelog is meant to go after the "---" that divides the description from the patch body and additional notes (including the diffstat). But there's no obvious way to make stgit do this short of editing each patch as stg mail is sending them.
Can stg mail be made to recognise a "---" line in the description and put everything after it after the "---" line in the message it is sending?
Since you're referencing stg mail, can I assume you're using StGit 1.x?
In StGit 2.0, stg mail was replaced with stg email format and stg email send which are thin wrappers around git format-patch and git send-email, respectively.
For reference, issue #243 is a related issue that was repaired for StGit 2.1.
I am not doing any maintenance on StGit 1.x, but if there remain issues with email-based workflows in StGit 2.x, I am happy to help get them resolved.
I've tried this with stgit-2.1 and the same thing seems to occur. I'm now using "git notes".