]> git.ipfire.org Git - thirdparty/git.git/commit
commit: use commit_stack
authorRené Scharfe <l.s.r@web.de>
Sun, 8 Feb 2026 11:37:38 +0000 (12:37 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 8 Feb 2026 23:02:09 +0000 (15:02 -0800)
commit050566633ad0e168105687cdbdca36cd1add06d5
tree74254fc235edce3abbd2bfaa15ff043b79a680f9
parent3e0db84c88c57e70ac8be8c196dfa92c5d656fbc
commit: use commit_stack

Use commit_stack instead of open-coding it.  Also convert the loop
counter i to size_t to match the type of the nr member of struct
commit_stack.

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