aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-01-20 17:17:24 +0100
committerJunio C Hamano <gitster@pobox.com>2025-01-21 14:20:29 -0800
commitffe664366890f252ad14e87c987c57e080182bca (patch)
tree04708a7a692673fd9c3bc74cf61c6d53dceb8059 /builtin/commit.c
parentreftable/basics: adjust `hash_size()` to return `uint32_t` (diff)
downloadgit-ffe664366890f252ad14e87c987c57e080182bca.tar.gz
git-ffe664366890f252ad14e87c987c57e080182bca.zip
reftable/block: adapt header and footer size to return a `size_t`
The functions `header_size()` and `footer_size()` return a positive integer representing the size of the header and footer, respectively, dependent on the version of the reftable format. Similar to the preceding commit, these functions return a signed integer though, which is nonsensical given that there is no way for these functions to return negative. Adapt the functions to return a `size_t` instead to fix a couple of sign comparison warnings. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions