Oliver Graute <[email protected]> wrote:
> Hello,
> 
> I would like to apply patches received from a public mailinglist to a 
> git repository. There for i'am looking for an easy to handle maintainer
> workflow for mutt and git. How do maintainers of known open source
> projects handle these workflow with incoming patches?

I use the following macros to apply patches directly from mutt (once I'm
in a project working directory):

macro index A ":unset pipe_decode\n|(umask 0022 && git am -3)\n:set 
pipe_decode\n"
macro pager A ":unset pipe_decode\n|(umask 0022 && git am -3)\n:set 
pipe_decode\n"

I will often save/copy messages to a separate mbox and apply them all at
once with "git am", perhaps editing them a little first (commit message
fixes/addendums, adding signed-off-by: tags, etc...)

Reply via email to