Thread (4 messages) flat view 4 messages, 4 authors, 2016-06-15

Re: List all SHA1 hashes in repo

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:44:25

Hi,

On Sun, 23 Mar 2008, Alexander Gladysh wrote:
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help