Re: What happens when the repository is bigger than gc.autopacklimit * pack.packSizeLimit?
- From
Dale R. Worley <worley@alum.mit.edu>
- Date
- Aug 29, 2014, 15:38 UTC
- Message-ID
- <201408291538.s7TFc0DU001156@hobgoblin.ariadne.com>
- In-Reply-To
- <20140827194746.GE7561@peff.net>
> From: Jeff King <peff@peff.net>
> why are you setting the packsize limit to 99m in the first place?
I want to copy the Git repository to box.com as a backup measure, and my account on box.com limits files to 100 MB.
> There are more delta opportunities
In this repository, only the smallest files are text files; the bulk of the files are executable binaries. So I've set core.bigFileThreshold to 10k to stop Git from attempting delta-compression of the binaries. That makes the repository slightly larger, but it dramatically speeds the repacking process.
Dale