]> git.ipfire.org Git - thirdparty/git.git/commit
commit: add commit_stack_init()
authorRené Scharfe <l.s.r@web.de>
Wed, 24 Dec 2025 17:03:22 +0000 (18:03 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 Dec 2025 23:29:28 +0000 (08:29 +0900)
commit2ebaa2b45e752088fd03d03c484fe43a653deba8
treec7c2bde9001839d19fd13aa86a31c3b5b5363a09
parent64dbeefbd24e02eb05ae3250e118c9552b7690fb
commit: add commit_stack_init()

Add a function for initializing a struct commit_stack, for when static
initialization is not possible or impractical.

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