midx: inline nth_midxed_pack_entry()
commit893b5635059a7e47b042073bc69ca0c5d9d15dc2
authorRené Scharfe <l.s.r@web.de>
Sat, 11 Sep 2021 20:39:31 +0000 (11 22:39 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 12 Sep 2021 23:14:32 +0000 (12 16:14 -0700)
treee27f0b8a4eb6aa495a02ccc3c033301c27d86414
parent325006f2dbeb482f422b2c0e62b485a41cb1c64b
midx: inline nth_midxed_pack_entry()

fill_midx_entry() finds the position of an object ID and passes it to
nth_midxed_pack_entry(), which uses the position to look up the object
ID for its own purposes.  Inline the latter into the former to avoid
that lookup.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
midx.c