diff options
author | Taylor Blau <me@ttaylorr.com> | 2021-08-31 16:52:16 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-01 13:56:43 -0700 |
commit | 711260fd60366063e8c5253a83fc4aeb8947dc9d (patch) | |
tree | 43fa6a5f9983878ed42f171ec116db366deb10bd /git-gui/lib/remote_branch_delete.tcl | |
parent | pack-bitmap.c: introduce 'nth_bitmap_object_oid()' (diff) | |
download | tgif-711260fd60366063e8c5253a83fc4aeb8947dc9d.tar.xz |
pack-bitmap.c: introduce 'bitmap_is_preferred_refname()'
In a recent commit, pack-objects learned support for the
'pack.preferBitmapTips' configuration. This patch prepares the
multi-pack bitmap code to respect this configuration, too.
The yet-to-be implemented code will find that it is more efficient to
check whether each reference contains a prefix found in the configured
set of values rather than doing an additional traversal.
Implement a function 'bitmap_is_preferred_refname()' which will perform
that check. Its caller will be added in a subsequent patch.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/remote_branch_delete.tcl')
0 files changed, 0 insertions, 0 deletions