]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/gc.c
object: allow clear_commit_marks_all to handle any repo
authorRené Scharfe <l.s.r@web.de>
Sat, 31 Oct 2020 12:46:08 +0000 (13:46 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 31 Oct 2020 17:46:34 +0000 (10:46 -0700)
commitcd8888452cd0e09c9efdc22da729023ae255b54b
treec9403e7defdf2cba012b1e52a8d9df1273229917
parent69986e19ffcfb9af674ae5180689ab7bbf92ed28
object: allow clear_commit_marks_all to handle any repo

Allow callers to specify the repository to use.  Rename the function to
repo_clear_commit_marks to document its new scope.  No functional change
intended.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
bisect.c
builtin/checkout.c
builtin/gc.c
object.c
object.h