diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-04-13 15:28:50 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-04-13 15:28:50 -0700 |
commit | 0623669fc6ddc6dc1ad706f135826f9a0910dd4b (patch) | |
tree | 79ba87fbe7d0f045f7acb616ab7086ae1562d38d /Documentation/config | |
parent | Merge branch 'jk/ref-filter-segfault-fix' (diff) | |
parent | builtin/pack-objects.c: respect 'pack.preferBitmapTips' (diff) | |
download | tgif-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.txt | 15 |
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`. |