Download patch from email.

Anand Moon moon.linux at
Sun Feb 15 11:48:45 EST 2015

Hi All,

I debug a bit more on the patchwork "pwclient" approach.

Here are steps how to setup.

Download the ".pwclientrc" from the project dir you want to download patches from.

For example I downloaded from the following link.

After that I checkout the "git clone git://"

ubuntu at arm:~/study/patchwork$ ./apps/patchwork/bin/pwclient list -n 4
ID      State        Name
--      -----        ----
2076111 New          [v2] ARM: dts: Add node for GMAC for exynos5440
2076251 New          ARM: S3C24XX: Remove plat-s3c24xx directory in arch/arm/
2076701 New          ARM: EXYNOS5: Fix PMU register configuration for local power blocks
2079361 New          [v3,1/5] ARM: dts: Add FIMD node to exynos4

Now if I can download the patch with respect to id's

ubuntu at arm:~/study/patchwork$ ./apps/patchwork/bin/pwclient get 2079361
Saved patch to v3-1-5-ARM-dts-Add-FIMD-node-to-exynos4.patch
ubuntu at arm:~/study/patchwork$

After this we can use git am command to apply the patch.

This seams to easy approach to me.

-Anand Moon

On Sunday, February 15, 2015 3:01 PM, Silvan Jegen <me at> wrote:

On Sun, Feb 15, 2015 at 08:11:51AM +0200, Elazar Leibovich wrote:
> I use "|".
>     $ cd ~/linux-source
>     $ mutt
>     (select email with patch)
>     |git am
> Git applies the patch to the current directory

Ah, I knew about '|' but I did not know that git am can read from stdin
as well, nice!

> 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.

Yes, I do that when I am not on my computer... I think all webmail
clients I have used do have a 'Show original' (or similar) option whose
text you can just copy paste.



Kernelnewbies mailing list
Kernelnewbies at

More information about the Kernelnewbies mailing list