On Thu, Mar 15, 2018 at 12:35:07PM -0700, Eric Pruitt wrote:
> 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.

Ah, I wasn't aware that the tags also work on attachments, neat. Thanks
for the tip!

That means both are equally convenient for me. However, if you send
patches inline (not as attachments) commenting on specific parts of
patches becomes as easy as clicking "reply" (or "r"...).


Cheers,

Silvan

Reply via email to