From: Matthieu Moy Date: Fri, 15 May 2015 12:08:38 GMT Subject: Re: determine a linux kernel version of a patch file Message-ID: In-Reply-To: Pawel Por writes: > Hi, > > At the beginning I'm sorry if this post is completely unrelated to > this mailing list. > I'm trying to find the base linux kernel version from which a patch > has been created and posted to LKML. > Most patches contain the index line. Is it the well known git index > (staging area) ? This is the id of the blob object corresponding to the _file_ being patched (index .. ). That's why you don't see it in git log: git log shows you ids for commit objects (which point to trees, which in turn points to blob). See Johannes' answer for how you can get some possible commits. -- Matthieu Moy http://www-verimag.imag.fr/~moy/