diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-04-03 08:04:22 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-04-03 09:16:50 -0700 |
commit | cd75790707fe0068abff6729f0697e26c3630702 (patch) | |
tree | 03e3e6c5e99eb91cd0bc34dcc810a457a4e3eb8d /builtin/commit.c | |
parent | f9e88544f5488adf07fd9c217ab6ab8f433a1ce8 (diff) |
reftable/record: extract function to decode key lengths
We're about to refactor the binary search over restart points so that it
does not need to fully decode the record keys anymore. To do so we will
need to decode the record key lengths, which is non-trivial logic.
Extract the logic to decode these lengths from `refatble_decode_key()`
so that we can reuse it.
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