write_reused_pack_one(): convert to new revindex API
authorTaylor Blau <redacted>
Wed, 13 Jan 2021 22:23:39 +0000 (17:23 -0500)
committerJunio C Hamano <redacted>
Thu, 14 Jan 2021 05:53:45 +0000 (21:53 -0800)
commit66cbd3e2fbb552aa7dc51a805fbbb9174abc5ccb
treeced3b192a2ca2837204783414ec07a341c2e37e7
parent952fc6870d9594b364cf755e8419843b3049d98c
write_reused_pack_one(): convert to new revindex API

Replace direct revindex accesses 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>
builtin/pack-objects.c
git clone https://git.99rst.org/PROJECT