]> git.99rst.org Git - git.git/commit
commit-reach: simplify cleanup of remaining bitmaps in ahead_behind ()
authorRené Scharfe <redacted>
Thu, 19 Mar 2026 16:24:40 +0000 (17:24 +0100)
committerJunio C Hamano <redacted>
Thu, 19 Mar 2026 17:45:41 +0000 (10:45 -0700)
commit60d8b5af9b553230faaae4fd276398d4f9fe4e39
tree7bba7dc925ff563d14f259ab0d433e07a07c35a4
parent7ff1e8dc1e1680510c96e69965b3fa81372c5037
commit-reach: simplify cleanup of remaining bitmaps in ahead_behind ()

Don't bother extracting the last few remaining prio_queue items in
order when we only want to free their associated bitmaps; just iterate
over the item array.

Signed-off-by: René Scharfe <redacted>
Signed-off-by: Junio C Hamano <redacted>
commit-reach.c
git clone https://git.99rst.org/PROJECT