The new 'mailscripts' package in Debian and its derivatives has a number
of useful scripts for people interested in e-mail-based git workflows.
I thought it would be useful to share them with the sr.ht & aerc
For aerc users: maildir-import-patch(1) might be useful to you:
For aerc+notmuch and emacs+notmuch users: notmuch-import-patch(1) is
likely to be useful to you: https://manpages.debian.org/notmuch-import-patch
For emacs+notmuch users: the new Emacs commands
- `M-x notmuch-extract-thread-patches`
- for git-send-email(1) threads
- `M-x notmuch-extract-message-patches`
- for git-format-patch(1) patches attached to a message
are likely to be useful to you.
If you're not using Debian or one of its derivatives, the git repo for
the scripts is here: <https://git.spwhitton.name/mailscripts>.