Thread (7 messages) flat view 7 messages, 2 authors, 2016-06-15

Re: Large pack causes git clone failures ... what to do?

From: Geoff Russell <hidden>
Date: 2016-06-15 22:49:27

On Wed, Sep 1, 2010 at 7:33 AM, Geoff Russell
[off-list ref] wrote:
Thanks Shawn,

...
quoted
You really needed to run:

 git repack --max-pack-size=.. -a -d

The -d flag tells it to remove the old packs once the new packs
are ready, and the -a flag tells it to reconsider every object
in the repository, rather than just those that are loose.
Ok, will try.
The repack failed with a "fatal: Out of memory, malloc failed", perhaps I
just need to try a machine with more memory!

I'm still interested in whether clone from a client take note of the
pack.packSizeLimit if I set it
on the server? Or does it use the client value?

Cheers,
Geoff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help