From mboxrd@z Thu Jan 1 00:00:00 1970 From: me@sillymon.ch (Silvan Jegen) Date: Sat, 14 Feb 2015 10:04:57 +0100 Subject: Download patch from email. In-Reply-To: <9390101.4760919.1423885733514.JavaMail.yahoo@mail.yahoo.com> References: <9390101.4760919.1423885733514.JavaMail.yahoo@mail.yahoo.com> Message-ID: <20150214090457.GA5140@myarchbang> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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