]> Kevux Git Server - rit/commit
commit-reach: simplify cleanup of remaining bitmaps in ahead_behind ()
authorRené Scharfe <l.s.r@web.de>
Thu, 19 Mar 2026 16:24:40 +0000 (17:24 +0100)
committerJunio C Hamano <gitster@pobox.com>
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 <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
commit-reach.c