From: Chris Mason Date: Sun, 26 Jun 2005 20:52:57 GMT Subject: Re: kernel.org and GIT tree rebuilding Message-ID: <200506261652.59373.mason@suse.com> In-Reply-To: On Sunday 26 June 2005 12:41, Linus Torvalds wrote: > On Fri, 24 Jun 2005, Linus Torvalds wrote: > > yeah, it clearly needs some refining to be useful, but I think you can > > kind of see how it would work. > > Ok, here's how it works. > > - Pick a starting commit (or a hundred) > > - Pick an ending commit (or a hundred) > > - generate the list of objects in between them > > git-rev-list --object end ^start > object-list > > - Pack that list of objects into an "object pack": > > git-pack-objects out < object-list Without having read the code, the big thing that hurt performance in my early packed file work was compressing the whole packed file instead of individual sub-objects. It takes more room to compress each object, but when I compressed the whole thing read performance was quite bad. -chris