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

Finding list of commit object

From
Anjib Mulepati <anjibcs@hotmail.com>
Date
Mar 26, 2012, 15:22 UTC
Message-ID
<BLU0-SMTP344C6638261C23F2023DD72B1450@phx.gbl>
Hi All,

I was doing some research on git objects. I understand that each object is represented with hash code and we can find the type of object with git cat command. I was wondering is there any command we can give to find the list of commit object (or any other object type) in current project without doing cat on each and every object inside .git/objects/

Thanks, Anjib

Next: Shawn Pearce
Message 1 of 2 in “Finding list of commit object”
  1. Anjib MulepatiMar 26, 2012
  2. Shawn PearceMar 26, 2012

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.