{"thread":{"id":"24927","subject":"format of git pack objects","startedAt":"2010-08-31T23:17:25Z","lastAt":"2010-08-31T23:22:57Z","messageCount":3,"participants":["Luke Kenneth Casson Leighton","Shawn O. Pearce"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"149508","messageId":"AANLkTimNnUYoBa1VfZeBb=eD=HymOU_h57bthYFC9jUZ@mail.gmail.com","threadId":"24927","inReplyTo":null,"subject":"format of git pack objects","fromName":"Luke Kenneth Casson Leighton","fromEmail":"luke.leighton@gmail.com","sentAt":"2010-08-31T23:17:25Z","receivedAt":"2010-08-31T23:17:25Z","isPatch":false,"sender":{"key":"luke.leighton@gmail.com","avatar":null},"body":"hi folks,\n\nwhere can i get information (specifications) on the format of git\npack-objects... please don't say \"look at the source code\" unless\nthere simply doesn't exist any format specifications.  as part of the\ngit p2p bittorrent vfs layer stuff, a \"file save\" operation doesn't\n\"happen by magic\": i need to actually verify the pack objects\nreceived: count the number of entries?  or do i?\n\ntia,\n\nl.\n"},{"id":"149509","messageId":"20100831231947.GH32601@spearce.org","threadId":"24927","inReplyTo":"AANLkTimNnUYoBa1VfZeBb=eD=HymOU_h57bthYFC9jUZ@mail.gmail.com","subject":"Re: format of git pack objects","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2010-08-31T23:19:47Z","receivedAt":"2010-08-31T23:19:47Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Luke Kenneth Casson Leighton <luke.leighton@gmail.com> wrote:\n> where can i get information (specifications) on the format of git\n> pack-objects... please don't say \"look at the source code\" unless\n> there simply doesn't exist any format specifications.  as part of the\n> git p2p bittorrent vfs layer stuff, a \"file save\" operation doesn't\n> \"happen by magic\": i need to actually verify the pack objects\n> received: count the number of entries?  or do i?\n\nIts in the Documentation/technical subdirectory of git.git[1].\nLook at pack-format.txt.  Its rather sparse though.\n\n\n[1] http://git.kernel.org/?p=git/git.git;a=tree;f=Documentation/technical;hb=HEAD\n\n-- \nShawn.\n"},{"id":"149510","messageId":"AANLkTikKavvRb-f0UFF6npQyuPaDHfxEnUFoqNCZNoZ5@mail.gmail.com","threadId":"24927","inReplyTo":"20100831231947.GH32601@spearce.org","subject":"Re: format of git pack objects","fromName":"Luke Kenneth Casson Leighton","fromEmail":"luke.leighton@gmail.com","sentAt":"2010-08-31T23:22:57Z","receivedAt":"2010-08-31T23:22:57Z","isPatch":false,"sender":{"key":"luke.leighton@gmail.com","avatar":null},"body":"On Wed, Sep 1, 2010 at 12:19 AM, Shawn O. Pearce <spearce@spearce.org> wrote:\n> Luke Kenneth Casson Leighton <luke.leighton@gmail.com> wrote:\n>> where can i get information (specifications) on the format of git\n>> pack-objects... please don't say \"look at the source code\" unless\n>> there simply doesn't exist any format specifications.  as part of the\n>> git p2p bittorrent vfs layer stuff, a \"file save\" operation doesn't\n>> \"happen by magic\": i need to actually verify the pack objects\n>> received: count the number of entries?  or do i?\n>\n> Its in the Documentation/technical subdirectory of git.git[1].\n> Look at pack-format.txt.\n\n star!  thank you.\n\n> Its rather sparse though.\n\n good enough.\n\n .... ahh... ah ha!\n\n  - The file is concluded with a trailer:\n\n    A copy of the 20-byte SHA1 checksum at the end of\n    corresponding packfile.\n\n    20-byte SHA1-checksum of all of the above.\n\n i believe that will suffice.\n"}]}