git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Jeff King <peff@peff.net>
Date
Apr 27, 2017, 03:20 UTC
Message-ID
<20170427032037.em2qvju5pdf2dbbl@sigill.intra.peff.net>
In-Reply-To
<xmqqr30er9tk.fsf@gitster.mtv.corp.google.com>
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
Previous: Junio C Hamano
Message 2 of 2 in “repack: accept --threads=<n> and pass it down to pack-objects”
  1. repack: accept --threads=<n> and pass it down to pack-objectsJunio C Hamano, Apr 27, 2017
  2. Jeff KingApr 27, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.