Re: [PATCH 09/13] drop objects larger than --blob-limit if specified
- From
Nicolas Pitre <nico@cam.org>
- Date
- Apr 6, 2007, 19:21 UTC
- Message-ID
- <alpine.LFD.0.98.0704061511390.28181@xanadu.home>
- In-Reply-To
- <56b7f5510704061109n2878a221p391b7c3edba89c63@mail.gmail.com>
On Fri, 6 Apr 2007, Dana How wrote:
> * To avoid offsets larger than 31 bits in .idx files. Your proposal, > and what I was doing for --pack-limit && --stdout, is sufficient to > address this.
BTW I have code for an index version 2 that allows for 64-bit offsets. It also adds a CRC32 for each object data as stored in the pack to make data reuse safer when repacking. I only have to fix a couple loose ends before sending patches out.
The new index only uses 64-bit offsets when it has to. Meaning that objects in front of a pack which usually are the most recent ones won't pay the overhead of a larger offset table at run time.
Nicolas