You are not logged in.

#1 2011-01-30 12:51:59

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Find kernel release version of commit

If you have a specific kernel commit, and want to find out which kernel release incorporates this commit, what would be the simplest way to find out?


ᶘ ᵒᴥᵒᶅ

Offline

#2 2011-01-30 15:26:49

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Find kernel release version of commit

Assuming you have the git tree, git can find it for you:

git describe <commit-ish>

This gives you the tag, an automatic increment and a hash, e.g. v2.6.35-rc5-19668-gb779b33. If you trim the fat, you get v2.6.35-rc5, which means the commit came after 2.6.35-rc5, and it will be included by the next tag.

Last edited by falconindy (2011-01-30 15:28:18)

Offline

Board footer

Powered by FluxBB