Re: List all SHA1 hashes in repo
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Mar 23, 2008, 13:59 UTC
- Message-ID
- <alpine.LSU.1.00.0803231459100.4353@racer.site>
- In-Reply-To
- <c6c947f60803230617if9606baxea21fa99dc3df37c@mail.gmail.com>
Hi,
On Sun, 23 Mar 2008, Alexander Gladysh wrote:
Show 7 quoted lines
> To help testing little Git-related tool I'm writing, I need a lot of > pregenerated SHA1 hashes. Git repo seems to be a perfect source of > such. Is there an easy way to extract a list of all (well, most of) > SHA1 hashes in the repo? > > 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.
Ciao, Dscho