On Wed, Jul 01, 2009 at 08:10:53PM +0530, Anuz Pratap Singh Tomar wrote:
> Hi all,
> I guess i have asked a similar question, but couldn't find a reply.
> 
> My question is if i know "git commit id", how can i know to which kernel
> version it was introduced?

        git describe --contains COMMIT_ID

I use it all the time, so much so that I have an alias for it in my
.gitconfig:
        [alias]
                dc = describe --contains

then I just use:
        git dc COMMIT_ID

hope this helps,

greg k-h

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to