summaryrefslogtreecommitdiff
path: root/Documentation/config
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-04-13 15:28:50 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-04-13 15:28:50 -0700
commit0623669fc6ddc6dc1ad706f135826f9a0910dd4b (patch)
tree79ba87fbe7d0f045f7acb616ab7086ae1562d38d /Documentation/config
parentMerge branch 'jk/ref-filter-segfault-fix' (diff)
parentbuiltin/pack-objects.c: respect 'pack.preferBitmapTips' (diff)
downloadtgif-0623669fc6ddc6dc1ad706f135826f9a0910dd4b.tar.xz
Merge branch 'tb/pack-preferred-tips-to-give-bitmap'
A configuration variable has been added to force tips of certain refs to be given a reachability bitmap. * tb/pack-preferred-tips-to-give-bitmap: builtin/pack-objects.c: respect 'pack.preferBitmapTips' t/helper/test-bitmap.c: initial commit pack-bitmap: add 'test_bitmap_commits()' helper
Diffstat (limited to 'Documentation/config')
-rw-r--r--Documentation/config/pack.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/config/pack.txt b/Documentation/config/pack.txt
index 3da4ea98e2..c0844d8d8e 100644
--- a/Documentation/config/pack.txt
+++ b/Documentation/config/pack.txt
@@ -122,6 +122,21 @@ pack.useSparse::
commits contain certain types of direct renames. Default is
`true`.
+pack.preferBitmapTips::
+ When selecting which commits will receive bitmaps, prefer a
+ commit at the tip of any reference that is a suffix of any value
+ of this configuration over any other commits in the "selection
+ window".
++
+Note that setting this configuration to `refs/foo` does not mean that
+the commits at the tips of `refs/foo/bar` and `refs/foo/baz` will
+necessarily be selected. This is because commits are selected for
+bitmaps from within a series of windows of variable length.
++
+If a commit at the tip of any reference which is a suffix of any value
+of this configuration is seen in a window, it is immediately given
+preference over any other commit in that window.
+
pack.writeBitmaps (deprecated)::
This is a deprecated synonym for `repack.writeBitmaps`.