From: Junio C Hamano Date: Thu, 13 Mar 2008 20:59:11 GMT Subject: Re: [PATCH] pack-objects: proper pack time stamping with --max-pack-size Message-ID: <7vzlt2wdb4.fsf@gitster.siamese.dyndns.org> In-Reply-To: Nicolas Pitre writes: > Runtime pack access is done in the pack file mtime order since recent > packs are more likely to contain frequently used objects than old packs. > However the --max-pack-size option can produce multiple packs with mtime > in the reversed order as newer objects are always written first. > > Let's modify mtime of later pack files (when any) so they appear older > than preceding ones when a repack creates multiple packs. It is a very good companion to f7c22cc (always start looking up objects in the last used pack first, May 30, 2007) after 10 months ;-)