Re: git pack/unpack over bittorrent - works!
- From
Nicolas Pitre <nico@fluxnic.net>
- Date
- Sep 3, 2010, 00:36 UTC
- Message-ID
- <alpine.LFD.2.00.1009022033520.19366@xanadu.home>
- In-Reply-To
- <AANLkTimDi=KYZ7Bs4C+WEGoP8y-yzjynddWpkxohWoix@mail.gmail.com>
On Thu, 2 Sep 2010, Luke Kenneth Casson Leighton wrote:
Show 12 quoted lines
> On Thu, Sep 2, 2010 at 8:29 PM, Shawn O. Pearce <spearce@spearce.org> wrote: > > Luke Kenneth Casson Leighton <luke.leighton@gmail.com> 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