Re: [PATCH] repack: accept --threads=<n> and pass it down to pack-objects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]