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

Re: List all SHA1 hashes in repo

From: Peter Harris <hidden>
Date: 2016-06-15 22:44:25

On Sun, Mar 23, 2008 at 9:17 AM, Alexander Gladysh [off-list ref] 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?
After a "git gc" to roll everything into a single pack, you could do a
"git verify-pack -v" to list all the SHA1s in the pack.

Peter Harris
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help