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

Kevin Wilson wkevils at gmail.com
Tue Nov 20 12:24:28 EST 2012


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

Then I run
git apply --check patchName
and
git apply  patchName
and it applies cleanly.

But if I try:
git am  patchName

It gives
"Patch format detection failed."

Any recommendation what to do to apply a patch
with "git am"?

could it be that using thunderbird as an email client for this task is better?

rgs,
Kevin



More information about the Kernelnewbies mailing list