Question about applying a kernel patch with "git am" received from a mailing list

Jonathan Neuschäfer j.neuschaefer at gmx.net
Wed Nov 21 13:56:18 EST 2012


On Tue, Nov 20, 2012 at 07:24:28PM +0200, Kevin Wilson wrote:
> Hi,
> I am following some kernel mailing lists (netdev and others).
> I want to be able to save recent patches and to apply the against a git tree.
> 
> I tried using MUTT client for this. I save the patch (which is almost
> always inline).

Try the following, it worked for me:
 - "tag" the patchset and "tag-save" or "tag-copy" it into one file
 - run: git am patchset.name

BTW, everyone working with git should try StGit ("stacked git"), it's
quite a useful tool.

HTH,
Jonathan Neuschäfer



More information about the Kernelnewbies mailing list