aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-08-08 16:06:19 +0200
committerJunio C Hamano <gitster@pobox.com>2024-08-08 10:14:41 -0700
commited7d2f4770659be207c0d512bceb337aa18c5527 (patch)
tree0dfe7e227d842a2fbb4d3010341e38f12c0425ef /contrib/persistent-https
parentStart the 2.47 cycle (diff)
downloadgit-ed7d2f4770659be207c0d512bceb337aa18c5527.tar.gz
git-ed7d2f4770659be207c0d512bceb337aa18c5527.zip
reftable/stack: refactor function to gather table sizes
Refactor the function that gathers table sizes to be more idiomatic. For one, use `REFTABLE_CALLOC_ARRAY()` instead of `reftable_calloc()`. Second, avoid using an integer to iterate through the tables in the reftable stack given that `stack_len` itself is using a `size_t`. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions