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

"git log -- SHA-1" - how to get/simulate this functionality?

From
ESEugene Sajine <euguess@gmail.com>
Date
Apr 26, 2010, 17:54 UTC
Message-ID
<i2o76c5b8581004261054h591c266fre1a0dd87cd8511e1@mail.gmail.com>
Hi,

I'm wondering if there is a way to get some repo information if the only thing i know is SHA-1 (no full path to the file) The current way seems to be a bit cumbersome

git log --no-abbrev --raw --all | grep SHA-1
parse for path(s) and then git log -- path...
I would want something like git log -- SHA-1
Any ideas?

Thanks, Eugene

Next: Eugene Sajine
Message 1 of 7 in “"git log -- SHA-1" - how to get/simulate this functionality?”
  1. Eugene SajineApr 26, 2010
  2. Eugene SajineApr 26, 2010
  3. Alex RiesenApr 26, 2010
  4. Eugene SajineApr 26, 2010
  5. Alex RiesenApr 26, 2010
  6. Alex RiesenApr 26, 2010
  7. Eugene SajineApr 26, 2010

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.