Re: git commit id and kernel version

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

 



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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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