From: Luke Kenneth Casson Leighton <luke.leighton@gmail.com>
To: "Shawn O. Pearce" <spearce@spearce.org>
Cc: git <git@vger.kernel.org>
Subject: Re: format of git pack objects
Date: Wed, 1 Sep 2010 00:22:57 +0100 [thread overview]
Message-ID: <AANLkTikKavvRb-f0UFF6npQyuPaDHfxEnUFoqNCZNoZ5@mail.gmail.com> (raw)
In-Reply-To: <20100831231947.GH32601@spearce.org>
On Wed, Sep 1, 2010 at 12:19 AM, Shawn O. Pearce <spearce@spearce.org> wrote:
> Luke Kenneth Casson Leighton <luke.leighton@gmail.com> wrote:
>> where can i get information (specifications) on the format of git
>> pack-objects... please don't say "look at the source code" unless
>> there simply doesn't exist any format specifications. as part of the
>> git p2p bittorrent vfs layer stuff, a "file save" operation doesn't
>> "happen by magic": i need to actually verify the pack objects
>> received: count the number of entries? or do i?
>
> Its in the Documentation/technical subdirectory of git.git[1].
> Look at pack-format.txt.
star! thank you.
> Its rather sparse though.
good enough.
.... ahh... ah ha!
- The file is concluded with a trailer:
A copy of the 20-byte SHA1 checksum at the end of
corresponding packfile.
20-byte SHA1-checksum of all of the above.
i believe that will suffice.
prev parent reply other threads:[~2010-08-31 23:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-31 23:17 format of git pack objects Luke Kenneth Casson Leighton
2010-08-31 23:19 ` Shawn O. Pearce
2010-08-31 23:22 ` Luke Kenneth Casson Leighton [this message]
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=AANLkTikKavvRb-f0UFF6npQyuPaDHfxEnUFoqNCZNoZ5@mail.gmail.com \
--to=luke.leighton@gmail.com \
--cc=git@vger.kernel.org \
--cc=spearce@spearce.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).