aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-repack.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-10-30 07:09:57 +0900
committerJunio C Hamano <gitster@pobox.com>2023-10-30 07:09:57 +0900
commit39072d24967ec88deec7f46bc0d382d01ec28a0d (patch)
treed52b7e651969dca655d68e7e2901629d2d977532 /Documentation/git-repack.txt
parent64912cc0239fc563978e58520c5ed9e802eb61e6 (diff)
parentca3285dd69413c599687e9024127767dd4a3be62 (diff)
downloadgit-39072d24967ec88deec7f46bc0d382d01ec28a0d.tar.gz
Merge branch 'ps/git-repack-doc-fixes'
Doc updates. * ps/git-repack-doc-fixes: doc/git-repack: don't mention nonexistent "--unpacked" option doc/git-repack: fix syntax for `-g` shorthand option
Diffstat (limited to 'Documentation/git-repack.txt')
-rw-r--r--Documentation/git-repack.txt9
1 files changed, 3 insertions, 6 deletions
diff --git a/Documentation/git-repack.txt b/Documentation/git-repack.txt
index c338329089..c902512a9e 100644
--- a/Documentation/git-repack.txt
+++ b/Documentation/git-repack.txt
@@ -220,7 +220,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
@@ -237,11 +237,8 @@ uniquely by the set of packs being "rolled-up"; in other words, the
packs determined to need to be combined in order to restore a geometric
progression.
+
-When `--unpacked` is specified, loose objects are implicitly included in
-this "roll-up", without respect to their reachability. This is subject
-to change in the future. This option (implying a drastically different
-repack mode) is not guaranteed to work with all other combinations of
-options to `git repack`.
+Loose objects are implicitly included in this "roll-up", without respect to
+their reachability. This is subject to change in the future.
+
When writing a multi-pack bitmap, `git repack` selects the largest resulting
pack as the preferred pack for object selection by the MIDX (see