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

How to find a commit containing a given sha1

From
Ping Yin <pkufranky@gmail.com>
Date
Dec 30, 2007, 10:39 UTC
Message-ID
<46dff0320712300239m54ab8280w9c1ec6347f095b40@mail.gmail.com>
In-Reply-To
<46dff0320712300238p67e82c66r5bf49900dd21aefa@mail.gmail.com>

Given a blob sha1, is there a simple way to find which file it corresponds to and which commit it is contained?

-- 
Ping Yin
Next: Johannes Schindelin
Message 1 of 2 in “How to find a commit containing a given sha1”
  1. Ping YinDec 30, 2007
  2. Johannes SchindelinDec 30, 2007

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.