]> git.99rst.org Git - git.git/commit
midx: inline nth_midxed_pack_entry()
authorRené Scharfe <redacted>
Sat, 11 Sep 2021 20:39:31 +0000 (22:39 +0200)
committerJunio C Hamano <redacted>
Sun, 12 Sep 2021 23:14:32 +0000 (16:14 -0700)
commit893b5635059a7e47b042073bc69ca0c5d9d15dc2
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
midx.c
git clone https://git.99rst.org/PROJECT