summaryrefslogtreecommitdiff
path: root/t/lib-gpg.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2019-12-18 12:25:38 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-01-23 10:51:50 -0800
commit14fbd260442b14813e142f762050313daee1f18d (patch)
treeefcdf216ff74029203d165b2c405365b06cb09c1 /t/lib-gpg.sh
parentpackfile: expose get_delta_base() (diff)
downloadtgif-14fbd260442b14813e142f762050313daee1f18d.tar.xz
ewah/bitmap: introduce bitmap_word_alloc()
In a following commit we will need to allocate a variable number of bitmap words, instead of always 32, so let's add bitmap_word_alloc() for this purpose. Note that we have to adjust the block growth in bitmap_set(), since a caller could now use an initial size of "0" (we don't plan to do that, but it doesn't hurt to be defensive). Helped-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-gpg.sh')
0 files changed, 0 insertions, 0 deletions