]> Kevux Git Server - rit/commit
midx: use commit_stack
authorRené Scharfe <l.s.r@web.de>
Wed, 24 Dec 2025 17:03:16 +0000 (18:03 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 Dec 2025 23:29:27 +0000 (08:29 +0900)
commit041c557171f160174cc40b0583adf411cef9e316
tree81911fb61ff21dcea919136bb0b4e70f10d4cf9d
parent052efdd60f860dc5bc50a92f10911402d9cc71b4
midx: use commit_stack

Simplify collection commits in a callback function by passing it a
commit_stack pointer all the way from the caller, instead of using
separate variables for array and item count and a bunch of intermediate
members in struct bitmap_commit_cb.

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