]> git.ipfire.org Git - thirdparty/git.git/commit
commit: move clear_commit_marks_many() loop body to clear_commit_marks()
authorRené Scharfe <l.s.r@web.de>
Sun, 23 Mar 2025 09:53:21 +0000 (10:53 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 24 Mar 2025 05:52:29 +0000 (14:52 +0900)
commit98b423bc1c8a0ff93004deb56571553847276103
tree42d1cfbaec7bac8c9b39f215c109fbd053e1f41a
parent683c54c999c301c2cd6f715c411407c413b1d84e
commit: move clear_commit_marks_many() loop body to clear_commit_marks()

clear_commit_marks_many() clears multiple commits one by one.  Move the
code for handling a single commit to clear_commit_marks() and call it
instead of the other way around, to simplify the code.

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