From: Nicolas Pitre Date: Fri, 03 Sep 2010 00:36:31 GMT Subject: Re: git pack/unpack over bittorrent - works! Message-ID: In-Reply-To: On Thu, 2 Sep 2010, Luke Kenneth Casson Leighton wrote: > On Thu, Sep 2, 2010 at 8:29 PM, Shawn O. Pearce wrote: > > Luke Kenneth Casson Leighton wrote: > >> > >>  * based on what you kindly mentioned about "git repack -f", would a > >> (well-written!) patch to git pack-objects to add a > >> "--single-thread-only" option be acceptable? > > > > Probably not.  I can't think of a good reason to limit the number > > of threads that get used. > > i can - so that git pack-objects, after "git repack -f", returns a > canonical pack! :) But did you try it? The -f means "don't reuse any existing pack data and recompute every delta from scratch to find the best matches". This is a very very costly operation that most people happily live without. Nicolas