Re: git pack/unpack over bittorrent - works!
- From
- Brandon Casey <brandon.casey.ctr@nrlssc.navy.mil>
- Date
- Sep 2, 2010, 20:28 UTC
- Message-ID
- <FyEIt68YHr11lsX_CGcHmYfITTgX-iSs9tVNIBMG7FQ_WhGc4ttvXw@cipher.nrlssc.navy.mil>
- In-Reply-To
- <20100902192910.GJ32601@spearce.org>
On 09/02/2010 02:29 PM, Shawn O. Pearce wrote:
Show 10 quoted lines
> 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. We already have pack.threads as a > configuration variable to support controlling this for the system, > but that's about the only thing that really makes sense.
I think pack-objects already has a --threads option allowing to specify the number of threads to use.
--threads=1
should do it.
-Brandon