[PATCH 1/2] doc/git-repack: fix syntax for `-g` shorthand option
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Oct 16, 2023, 07:19 UTC
- Message-ID
- <bee3cfbe359c62cfeb9803917d661fbba54e404b.1697440686.git.ps@pks.im>
- In-Reply-To
- <cover.1697440686.git.ps@pks.im>
The `-g` switch is a shorthand for `--geometric=` and allows the user to specify the geometric. The documentation is wrong though and indicates that the syntax for the shorthand is `-g=<factor>`. In fact though, the option must be specified without the equals sign via `-g<factor>`.
Fix the syntax accordingly.
Signed-off-by: Patrick Steinhardt <ps@pks.im> --- Documentation/git-repack.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/git-repack.txt b/Documentation/git-repack.txt index 8545a32667..dfd2a59c50 100644 --- a/Documentation/git-repack.txt +++ b/Documentation/git-repack.txt @@ -209,7 +209,7 @@ depth is 4095. Pass the `--delta-islands` option to `git-pack-objects`, see linkgit:git-pack-objects[1]. --g=<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
-- 2.42.0