aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-02-27 15:11:50 -0800
committerJunio C Hamano <gitster@pobox.com>2026-02-27 15:11:50 -0800
commitaa95f87c740011f7d21555c5ad7f0870faf4b5c8 (patch)
treec0a39d47a9577cde07467ee145fd7cd7de3c8126 /Documentation
parent341be27dfef8aba66f10be58aec1395075081e85 (diff)
parent6375a00ef16071eadbb383bd9915e277ef304bfe (diff)
downloadgit-aa95f87c740011f7d21555c5ad7f0870faf4b5c8.tar.xz
Merge branch 'ps/for-each-ref-in-fixes'
A handful of places used refs_for_each_ref_in() API incorrectly, which has been corrected. * ps/for-each-ref-in-fixes: bisect: simplify string_list memory handling bisect: fix misuse of `refs_for_each_ref_in()` pack-bitmap: fix bug with exact ref match in "pack.preferBitmapTips" pack-bitmap: deduplicate logic to iterate over preferred bitmap tips
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/config/pack.adoc9
1 files changed, 5 insertions, 4 deletions
diff --git a/Documentation/config/pack.adoc b/Documentation/config/pack.adoc
index 75402d5579..fa997c8597 100644
--- a/Documentation/config/pack.adoc
+++ b/Documentation/config/pack.adoc
@@ -160,12 +160,13 @@ pack.usePathWalk::
processes. See linkgit:git-pack-objects[1] for full details.
pack.preferBitmapTips::
+ Specifies a ref hierarchy (e.g., "refs/heads/"); can be
+ given multiple times to specify more than one hierarchies.
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".
+ commit at the tip of a reference that is contained in any of
+ the configured hierarchies.
+
-Note that setting this configuration to `refs/foo` does not mean that
+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.