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."