All of lore.kernel.org
 help / color / mirror / Atom feed
* how to pick up a patch from a mail
@ 2013-01-20  6:26 Asutosh Das
  2013-01-24 15:09 ` Anuz Pratap Singh Tomar
  0 siblings, 1 reply; 3+ messages in thread
From: Asutosh Das @ 2013-01-20  6:26 UTC (permalink / raw)
  To: kernelnewbies

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 ?

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* how to pick up a patch from a mail
  2013-01-20  6:26 how to pick up a patch from a mail Asutosh Das
@ 2013-01-24 15:09 ` Anuz Pratap Singh Tomar
  2013-01-24 15:39   ` Asutosh Das
  0 siblings, 1 reply; 3+ messages in thread
From: Anuz Pratap Singh Tomar @ 2013-01-24 15:09 UTC (permalink / raw)
  To: kernelnewbies

On Sun, Jan 20, 2013 at 6:26 AM, Asutosh Das <das.asutosh@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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130124/305f9fb3/attachment.html 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* how to pick up a patch from a mail
  2013-01-24 15:09 ` Anuz Pratap Singh Tomar
@ 2013-01-24 15:39   ` Asutosh Das
  0 siblings, 0 replies; 3+ messages in thread
From: Asutosh Das @ 2013-01-24 15:39 UTC (permalink / raw)
  To: kernelnewbies

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@gmail.com> wrote:
>
>
> On Sun, Jan 20, 2013 at 6:26 AM, Asutosh Das <das.asutosh@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-24 15:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-20  6:26 how to pick up a patch from a mail Asutosh Das
2013-01-24 15:09 ` Anuz Pratap Singh Tomar
2013-01-24 15:39   ` Asutosh Das

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.