]> git.ipfire.org Git - thirdparty/git.git/commitdiff
doc/git-repack: fix syntax for `-g` shorthand option
authorPatrick Steinhardt <ps@pks.im>
Mon, 16 Oct 2023 07:19:51 +0000 (09:19 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Oct 2023 21:21:59 +0000 (14:21 -0700)
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-repack.txt

index 4017157949e6d764a619f870c0eed538d3e99f64..60ffe830a6a38f867a4ad27c61fd6489f1da357b 100644 (file)
@@ -186,7 +186,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