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

Re: [PATCH v2] builtin/repack.c: set a default factor for '--geometric'

From
Andreas Schwab <schwab@linux-m68k.org>
Date
Apr 20, 2021, 21:44 UTC
Message-ID
<877dkwfx6x.fsf@igel.home>
In-Reply-To
<8d8dea2e2c149303891cfe6ae8dbec06b538622c.1618950726.git.me@ttaylorr.com>
On Apr 20 2021, Taylor Blau wrote:
Show 17 quoted lines
> diff --git a/Documentation/git-repack.txt b/Documentation/git-repack.txt
> index 317d63cf0d..f7c7e0aeae 100644
> --- a/Documentation/git-repack.txt
> +++ b/Documentation/git-repack.txt
> @@ -165,11 +165,12 @@ depth is 4095.
>  	Pass the `--delta-islands` option to `git-pack-objects`, see
>  	linkgit:git-pack-objects[1].
>  
> --g=<factor>::
> ---geometric=<factor>::
> +-g[=<factor>]::
> +--geometric[=<factor>]::
>  	Arrange resulting pack structure so that each successive pack
>  	contains at least `<factor>` times the number of objects as the
> -	next-largest pack.
> +	next-largest pack. If `<factor>` is not specified, then `2` is
> +	used by default.
I don't think the short option takes a '='.

$ ./git repack -g=2 error: switch `g' expects a numerical value

Andreas.
-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."
Previous: Taylor Blau
Message 6 of 6 in “builtin/repack.c: set a default factor for '--geometric'”
  1. builtin/repack.c: set a default factor for '--geometric'Taylor Blau, Apr 20, 2021
  2. Derrick StoleeApr 20, 2021
  3. Junio C HamanoApr 20, 2021
  4. Taylor BlauApr 20, 2021
  5. builtin/repack.c: set a default factor for '--geometric'Taylor Blau, Apr 20, 2021
  6. Andreas SchwabApr 20, 2021

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.