]> git.ipfire.org Git - thirdparty/git.git/commit - object.c
object: add clear_commit_marks_all()
authorRené Scharfe <l.s.r@web.de>
Mon, 25 Dec 2017 17:44:58 +0000 (18:44 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 28 Dec 2017 21:50:05 +0000 (13:50 -0800)
commit4ad315fc99d906364c9a5d75a319752cf4056ae5
tree56ee9299ccc48c075d3c41714f8539f418361e1a
parent5dee6d6f28370b613ccf945b1ba8cecb0b44c172
object: add clear_commit_marks_all()

Add a function for clearing the commit marks of all in-core commit
objects.  It's similar to clear_object_flags(), but more precise, since
it leaves the other object types alone.  It still has to iterate through
them, though.

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