Re: [PATCH] repack: accept --threads=<n> and pass it down to pack-objects
On Wed, Apr 26, 2017 at 05:08:39PM -0700, Junio C Hamano wrote:
> We already do so for --window=<n> and --depth=<n>; this will help
> when the user wants to force --threads=1 for reproducible testing
> without getting affected by racing multiple threads.
Seems reasonable. I usually just do this with:
git -c pack.threads=1 repack ...
but it does not hurt to have a real command line option.
> ---
> Documentation/git-repack.txt | 5 ++++-
> builtin/repack.c | 5 +++++
> 2 files changed, 9 insertions(+), 1 deletion(-)
The patch itself looks obviously correct.
-Peff