Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stg mail: If there's a "---" line in the patch description, put everything after it after the "---" in the email #262

Open
dhowells opened this issue Jan 18, 2023 · 2 comments

Comments

@dhowells
Copy link

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?

@jpgrayson
Copy link
Collaborator

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.

@dhowells
Copy link
Author

I've tried this with stgit-2.1 and the same thing seems to occur. I'm now using "git notes".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants