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