git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: format of git pack objects

From
Shawn O. Pearce <spearce@spearce.org>
Date
Aug 31, 2010, 23:19 UTC
Message-ID
<20100831231947.GH32601@spearce.org>
In-Reply-To
<AANLkTimNnUYoBa1VfZeBb=eD=HymOU_h57bthYFC9jUZ@mail.gmail.com>
Luke Kenneth Casson Leighton <luke.leighton@gmail.com> wrote:
Show 6 quoted lines
> 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.
Previous: Luke Kenneth Casson LeightonNext: Luke Kenneth Casson Leighton
Message 2 of 3 in “format of git pack objects”
  1. Luke Kenneth Casson LeightonAug 31, 2010
  2. Shawn O. PearceAug 31, 2010
  3. Luke Kenneth Casson LeightonAug 31, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.