From: Junio C Hamano Date: Sun, 12 Aug 2012 19:11:17 GMT Subject: Re: [PATCH/RFC] index-pack: produce pack index version 3 Message-ID: <7vtxw8exii.fsf@alter.siamese.dyndns.org> In-Reply-To: <1344772889-8978-1-git-send-email-pclouds@gmail.com> Nguyễn Thái Ngọc Duy writes: > The main reason to group objects by type is to make it possible to > create another sha1->something mapping for a particular object type, > without wasting space for storing sha-1 keys again. For example, we > can store commit caches, tree caches... at the end of the index as > extensions. Why can't you do the same with a single "sorted by SHA-1" table? Not impressed yet.