Download patch from email.

Silvan Jegen me at sillymon.ch
Sat Feb 14 04:04:57 EST 2015


On Sat, Feb 14, 2015 at 03:48:53AM +0000, Anand Moon wrote:
> I have configured mutt as email client.
> 
> https://github.com/narkoleptik/dotfiles/blob/master/.muttrc
> 
> But my configuration don't allow me to download Linux patch's from
> email.

I use mutt's standard functionality to get patches from emails which I
did not have to configure IIRC. Depending on whether the patches have
been sent inline (within the email text itself) or attached to the email
I use two different methods.

Inline patches:
I use 'C' (if there are multiple patches you can tag all the mail
messages first and then use ';C') to copy all the mail messages to a
mailbox file. This mailbox file can then be read by the 'git am' command
which applies all the patches (including the commit messages) to your
git tree.

Attached patches:
Select the mail message, click 'v' and save the attached patches to disk
with 's'.

Hope that helps. I would like to hear if other people have more
efficient workflows (using custom scripts for example)!


Cheers,

Silvan




More information about the Kernelnewbies mailing list