git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Peter Harris" <git@peter.is-a-geek.org>
To: "Alexander Gladysh" <agladysh@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: List all SHA1 hashes in repo
Date: Sun, 23 Mar 2008 09:40:07 -0400	[thread overview]
Message-ID: <eaa105840803230640j11ffa096x511a81b1c0b8f40e@mail.gmail.com> (raw)
In-Reply-To: <c6c947f60803230617if9606baxea21fa99dc3df37c@mail.gmail.com>

On Sun, Mar 23, 2008 at 9:17 AM, Alexander Gladysh <agladysh@gmail.com> 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

  reply	other threads:[~2008-03-23 13:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-23 13:17 List all SHA1 hashes in repo Alexander Gladysh
2008-03-23 13:40 ` Peter Harris [this message]
2008-03-23 13:59 ` Johannes Schindelin
2008-03-23 14:21   ` Pieter de Bie
     [not found]   ` <540004BB-49C4-456B-ABA3-62659D85C15E@ai.rug.nl>
2008-03-23 14:33     ` Johannes Schindelin
2008-03-23 15:44       ` Alexander Gladysh
2008-03-23 18:23       ` Junio C Hamano
2008-03-23 18:48         ` Johannes Schindelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=eaa105840803230640j11ffa096x511a81b1c0b8f40e@mail.gmail.com \
    --to=git@peter.is-a-geek.org \
    --cc=agladysh@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).