On Thu, Mar 15, 2018 at 08:28:26PM +0100, Silvan Jegen wrote:
> > That depends on what email client you use. Mutt makes piping both whole
> > messages and individual attachments to arbitrary commands pretty
> > painless IMO.
>
> I use mutt as well but I don't know how to deal with attachments efficiently.
>
> Mails I can just tag so to apply a series of patches sent with "git
> send-email" I tag them and pipe them to "git am". If several patches are
> attached to a mail, I haven't found a good way to download them all in
> one go and then apply them in batch to a repo.
>
> Would definitely like to learn about a more efficient way to deal with
> attached patches in mutt.

Move the cursor to the message in question then invoke view-attachments
("v" by default). From there you can use pipe-message ("|") with
git-apply, and you can tag multiple attachments using tag-message ("t")
just as you would with messages.

Eric

Reply via email to