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

Re: Cygwin can't handle huge packfiles?

From
Llinux@horizon.com <linux@horizon.com>
Date
Apr 7, 2006, 03:05 UTC
Message-ID
<20060407030548.22399.qmail@science.horizon.com>
In-Reply-To
<7vk6a2uupy.fsf@assigned-by-dhcp.cox.net>
Show 5 quoted lines
> I do not think that would help the original poster's situation
> where only 5 revs result in a 1.5G pack.  I would _almost_ say
> "do not pack such a repository", but there is the initial
> cloning over git-aware transports which always results in a
> repository with a single pack.

Huh? Why not? That repository has a lot of files. For compression, you want all versions of a file in one pack, and with few versions that makes it easier to split up, not harder.

As for network transport of packs, I haven't studied the details, but if you allow "thin packs" that have deltas relative to objects not in the pack, then breaking up the pack anywhere should be legal.

Or, if necessary, you can stuff an arbitrarily large file through git-unpack-objects, which reads a stream from stdin without attempting to mmap it.

(Speaking of unpack-objects.c, what's that "static unsigned long eof" variable in there? It never seems to be set to a non-zero value.)

Previous: Junio C Hamano
Message 3 of 3 in “Re: Cygwin can't handle huge packfiles?”
  1. linux@horizon.comApr 6, 2006
  2. Junio C HamanoApr 6, 2006
  3. linux@horizon.comApr 7, 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.