* format of git pack objects
@ 2010-08-31 23:17 Luke Kenneth Casson Leighton
2010-08-31 23:19 ` Shawn O. Pearce
0 siblings, 1 reply; 3+ messages in thread
From: Luke Kenneth Casson Leighton @ 2010-08-31 23:17 UTC (permalink / raw)
To: git
hi folks,
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?
tia,
l.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: format of git pack objects
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
0 siblings, 1 reply; 3+ messages in thread
From: Shawn O. Pearce @ 2010-08-31 23:19 UTC (permalink / raw)
To: Luke Kenneth Casson Leighton; +Cc: git
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. Its rather sparse though.
[1] http://git.kernel.org/?p=git/git.git;a=tree;f=Documentation/technical;hb=HEAD
--
Shawn.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: format of git pack objects
2010-08-31 23:19 ` Shawn O. Pearce
@ 2010-08-31 23:22 ` Luke Kenneth Casson Leighton
0 siblings, 0 replies; 3+ messages in thread
From: Luke Kenneth Casson Leighton @ 2010-08-31 23:22 UTC (permalink / raw)
To: Shawn O. Pearce; +Cc: git
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-08-31 23:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).