git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: determine a linux kernel version of a patch file

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
May 15, 2015, 12:08 UTC
Message-ID
<vpqr3qicabd.fsf@anie.imag.fr>
In-Reply-To
<CAJmOuExq3WF26Gufr5bAA7w3=EMxJ80NKMXf8Dgi0TK7kVXStA@mail.gmail.com>
Pawel Por <porparek@gmail.com> writes:
Show 8 quoted lines
> 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 <from>..<to> <mode>). 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/
Previous: Johannes SchindelinNext: Kelvin Li
Message 3 of 6 in “determine a linux kernel version of a patch file”
  1. Pawel PorMay 14, 2015
  2. Johannes SchindelinMay 14, 2015
  3. Matthieu MoyMay 15, 2015
  4. Kelvin LiMay 15, 2015
  5. Johannes SchindelinMay 15, 2015
  6. Junio C HamanoMay 15, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.