how to pick up a patch from a mail

Asutosh Das das.asutosh at gmail.com
Thu Jan 24 10:39:14 EST 2013


Thanks for the reply.
I figured it out.
I got the mbox file, split it and searched for the required patch and
applied it, all through git commands.

> Why is it important that you do not copy it?
Because I couldn't find a way to preserve the commit message otherwise.

> generally you should apply patch with patch command
I used the git am command for it.

On 24 January 2013 20:39, Anuz Pratap Singh Tomar
<chambilkethakur at gmail.com> wrote:
>
>
> On Sun, Jan 20, 2013 at 6:26 AM, Asutosh Das <das.asutosh at gmail.com> wrote:
>>
>> Hi
>> Say I want to pick up a patch
>>
>> https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CC4QFjAA&url=http://lists.linaro.org/pipermail/linaro-kernel/2011-April/000250.html&ei=FXL5UIy-KYKErQf47oGgAg&usg=AFQjCNGVUHMUQJ6gAhSkXJb7rWO6h_xA9A&bvm=bv.41248874,d.bmk
>>
>> how do i apply it directly to my branch without copying it ?
>>
> Why is it important that you do not copy it?
> I would prefer to get the git commit id from the branch and generate the
> patch from there.
> generally you should apply patch with patch command, but I am not sure what
> are you trying to achieve here.
>
>>
>> I have tried git am and git mail-info, but i am not sure if I am using
>> the correct command.
>>
>> Can you please let me know the correct command ?
>>
>> --
>> Thanks & Regards
>> ~/asd
>>
>> _______________________________________________
>> Kernelnewbies mailing list
>> Kernelnewbies at kernelnewbies.org
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
>
>
> --
> Thank you
> Warm Regards
> Anuz



-- 
Thanks & Regards
~/asd
# (91) 8297 00 1980



More information about the Kernelnewbies mailing list