diff options
| author | Patrick Steinhardt <ps@pks.im> | 2023-10-16 09:19:51 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-10-16 14:21:59 -0700 |
| commit | e9cc3a027b0ab97e360748a5a9187fbf22b8a660 (patch) | |
| tree | b82ad5e01e3f959683a3d8b46dd5c2a0f27fd3b6 | |
| parent | Git 2.42 (diff) | |
| download | git-e9cc3a027b0ab97e360748a5a9187fbf22b8a660.tar.gz git-e9cc3a027b0ab97e360748a5a9187fbf22b8a660.zip | |
doc/git-repack: fix syntax for `-g` shorthand option
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>
| -rw-r--r-- | Documentation/git-repack.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-repack.txt b/Documentation/git-repack.txt index 4017157949..60ffe830a6 100644 --- a/Documentation/git-repack.txt +++ b/Documentation/git-repack.txt @@ -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 |
