for_each_object_in_pack(): convert to new revindex API
commitb130aef65e492667229191dfd0689b74d88c6a84
authorTaylor Blau <me@ttaylorr.com>
Wed, 13 Jan 2021 22:24:49 +0000 (13 17:24 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 14 Jan 2021 05:53:47 +0000 (13 21:53 -0800)
treefe28a3efab2633dea90c19ac65a347fa7ab9c728
parent0a7e3642bc0d42a2c322886e64872ac9d736fa84
for_each_object_in_pack(): convert to new revindex API

Avoid looking at the 'revindex' pointer directly and instead call
'pack_pos_to_index()'.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
packfile.c