Re: Q: how can i find the upstream merge point of a commit?

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

 



Hi Ingo,

On Wed, 8 Jun 2011 11:36:48 +0200 Ingo Molnar <mingo@xxxxxxx> wrote:
>
> 
> This might be a FAQ, but i couldn't find an elegant Git-ish answer 
> for it, so please bear with my stupid question :-)
> 
> In an upstream Linux kernel Git repo, with linux-next as a remote 
> present (but -git checked out), what is the way to find out when a 
> particular commit was merged upstream?
> 
> So for example when was 189d3c4a94 merged upstream?
> 
> The proper Git answer would be:
> 
>   $ git describe --contains 189d3c4a94
>   next-20080501~97
> 
> But the next-20080501 tag is useless, and i don't have linux-next as 
> HEAD, it's only a remote.

You can restict which tags get used:

$ git describe --contains --match 'v*' 189d3c4a94
v2.6.26-rc1~155

-- 
Cheers,
Stephen Rothwell                    sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgpLacxTkF8kh.pgp
Description: PGP signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]