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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
Thanks for the quick response!
I press "|" , I want to pipe to the git tree (which is
/work/src/net-next). How do I tell pipe that the path of git tree is
there?

rgs
Kevin

On Tue, Nov 20, 2012 at 7:39 PM, Josh Cartwright <joshc@xxxxxxxxxxxx> wrote:
> 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).
>>
>> 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"?
>
> Kevin-
>
> Just use mutt's 'pipe-message' feature, which is bound to '|' by
> default.  Pipe the message directly to 'git am'.
>
>    Josh

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux