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

Re: git clone dies (large git repository)

From
TTTroy Telford <ttelford@linuxnetworx.com>
Date
Aug 21, 2006, 23:30 UTC
Message-ID
<op.tenp9fv1ies9li@rygel.lnxi.com>
In-Reply-To
<7vfyfs313t.fsf@assigned-by-dhcp.cox.net>
On Sat, 19 Aug 2006 14:46:30 -0600, Junio C Hamano <junkio@cox.net> wrote:
> What is interesting is that .pack format does not have (as far
> as I know) inherent size limitation.  However, .idx file has
> hardcoded 32-bit offsets into .pack -- hence, in practice, you
> cannot use a .pack that is over 4GB locally.

Confessing my (complete, total, frightening) ignorance about git: Is it even possible to take a large pack file and split it into smaller packs?

I'm thinking of it as an option for git-repack-- that the user can set the maximum size of any individual pack, and after that limit is reached, a new pack file is started. (ie. --max-size 2GB) and will end up with two packs, each 2GB in size.

That being said -- I've been able to work around it (although I haven't tried your suggestion yet); it's not a 'critical' problem. I'm now just curious if my fantasy (above) makes sense.

-- 
Troy Telford
Previous: Junio C HamanoNext: Junio C Hamano
Message 4 of 6 in “git clone dies (large git repository)”
  1. Troy TelfordAug 18, 2006
  2. Jakub NarebskiAug 19, 2006
  3. Junio C HamanoAug 19, 2006
  4. Troy TelfordAug 21, 2006
  5. Junio C HamanoAug 22, 2006
  6. Jakub NarebskiAug 22, 2006

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.