get_size_by_pos(): convert to new revindex API
authorTaylor Blau <redacted>
Wed, 13 Jan 2021 22:24:00 +0000 (17:24 -0500)
committerJunio C Hamano <redacted>
Thu, 14 Jan 2021 05:53:46 +0000 (21:53 -0800)
commita78a90324d1c5ccba2ab46cb70573518dd6eeade
tree541ee2d79cd56c952d6ddd52b834a04a0e1526a8
parentcf98f2e8e09416b72bf984af4706c140de8794ab
get_size_by_pos(): convert to new revindex API

Remove another caller that holds onto a 'struct revindex_entry' by
replacing the direct indexing with calls to 'pack_pos_to_offset()' and
'pack_pos_to_index()'.

Signed-off-by: Taylor Blau <redacted>
Signed-off-by: Junio C Hamano <redacted>
pack-bitmap.c
git clone https://git.99rst.org/PROJECT