diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-04-13 22:28:50 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-04-13 22:28:50 (GMT) |
commit | 0623669fc6ddc6dc1ad706f135826f9a0910dd4b (patch) | |
tree | 79ba87fbe7d0f045f7acb616ab7086ae1562d38d /Documentation/config | |
parent | f63add4aa8e8c2ea413fe2bf3b5c9b0f55617e8b (diff) | |
parent | 3f267a112820f3bdf6b82362680ea6339f0e5f86 (diff) | |
download | git-0623669fc6ddc6dc1ad706f135826f9a0910dd4b.zip git-0623669fc6ddc6dc1ad706f135826f9a0910dd4b.tar.gz git-0623669fc6ddc6dc1ad706f135826f9a0910dd4b.tar.bz2 |
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 3da4ea9..c0844d8 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`. |