]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/gc: move rerere garbage collection into separate function
authorPatrick Steinhardt <ps@pks.im>
Wed, 7 May 2025 07:21:41 +0000 (09:21 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 May 2025 17:50:15 +0000 (10:50 -0700)
commit255251cce179efffe6dd17bc26f2729f6fcfd3bd
treebcd41648d71e71399eee2b8d345da9e012c4a43c
parentec31474656de3849fb9ed31f238fabdb6a59f1b1
builtin/gc: move rerere garbage collection into separate function

In a subsequent commit we are going to introduce a new "rerere-gc" task
for git-maintenance(1). To prepare for this, refactor the code that
spawns `git rerere gc` into a separate function.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/gc.c