Re: Fwd: Git and Large Binaries: A Proposed Solution
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Mar 16, 2011, 14:40 UTC
- Message-ID
- <AANLkTintr3szKMhbegeUgu+KHGtBGTRyQ3Y4pOwfwhEr@mail.gmail.com>
- In-Reply-To
- <20110314193254.GA21581@sigill.intra.peff.net>
On Tue, Mar 15, 2011 at 2:32 AM, Jeff King <peff@peff.net> wrote:
> That being said, I'm not sure how much this optimization will buy us. > There are times when being able to mmap() the file directly, or point an > external program directly at the original blob will be helpful. But we > will still have to copy, for example on checkout.
Sparse checkout code may help. If those large files are not always needed, they can be marked skip-checkout based on core.bigFileThreshold and won't be checked out until explictly requested. This use may conflict with sparse checkout because it sets skip-checkout bits automatically from $GIT_DIR/info/sparsecheckout though.
-- Duy