From: Linus Torvalds Date: Wed, 14 Jun 2006 21:17:27 GMT Subject: Re: Repacking many disconnected blobs Message-ID: In-Reply-To: <1150319115.30681.54.camel@neko.keithp.com> On Wed, 14 Jun 2006, Keith Packard wrote: > > > In that case it > > might be preferable that the reuse of already deltified data is made of > > backward delta which is the reason you might consider feeding object in > > the prefered order up front. > > Hmm. As I'm deltafying along branches, the delta data should actually be > fairly good; the only 'bad' result will be the sub-optimal object > ordering in the pack files. I'll experiment with some larger trees to > see how much additional savings the various repack options yield. The fact that git repacking sorts by filesize after it sorts by filename should make this a non-issue: we always try to delta against the larger version (where "larger" is not only almost invariable also "newer", but the delta is simpler, since deleting data doesn't take up any space in the delta, while adding data needs to ay what the data added was, of course). Linus