Download patch from email.
Elazar Leibovich
elazar.leibovich at ravellosystems.com
Sun Feb 15 01:11:51 EST 2015
I use "|".
$ cd ~/linux-source
$ mutt
(select email with patch)
|git am
Git applies the patch to the current directory
You could of course pipe to a file with "|cat 001-file.patch"
Last note, from gmail, one can use the "show original" menu item, and
save/copy-paste the text from there. git am would understand that.
On Sat, Feb 14, 2015 at 11:04 AM, Silvan Jegen <me at sillymon.ch> wrote:
> 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
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150215/2c558c6b/attachment.html
More information about the Kernelnewbies
mailing list