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

Re: List all SHA1 hashes in repo

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Mar 23, 2008, 14:33 UTC
Message-ID
<alpine.LSU.1.00.0803231532150.4353@racer.site>
In-Reply-To
<540004BB-49C4-456B-ABA3-62659D85C15E@ai.rug.nl>
Hi,
On Sun, 23 Mar 2008, Pieter de Bie wrote:
Show 8 quoted lines
> On Mar 23, 2008, at 2:59 PM, Johannes Schindelin wrote:
> > > The git rev-list --all gives nice list, but, as I understand, that 
> > > is only commit objects, and there are much more of SHA1 hidden 
> > > inside.
> >
> > Just add --objects.
> 
> I thought --all --objects only shows reachable objects?
Ah yes.  But usually the objects in packs are reachable...

So you're right, it does not really show _all_ objects. But it shows many objects, and is pretty easy (which I think was the original poster's real question).

Ciao, Dscho

P.S.: I got two mails from you, one without the Cc: list, and one with it... Strange.

Previous: Pieter de BieNext: Alexander Gladysh
Message 5 of 8 in “List all SHA1 hashes in repo”
  1. Alexander GladyshMar 23, 2008
  2. Peter HarrisMar 23, 2008
  3. Johannes SchindelinMar 23, 2008
  4. Pieter de BieMar 23, 2008
  5. Johannes SchindelinMar 23, 2008
  6. Alexander GladyshMar 23, 2008
  7. Junio C HamanoMar 23, 2008
  8. Johannes SchindelinMar 23, 2008

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.