summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-04-08 08:22:16 +0200
committerJunio C Hamano <gitster@pobox.com>2025-04-08 07:53:27 -0700
commit3fef24ac3fbcc6ad9e325a293b59ee38645f2407 (patch)
tree15d1e27d90dd219e2fe274a65662807b649b6b1b /builtin/commit.c
parentd20fc193b663cd98364c07195e6cb38618a30c10 (diff)
builtin/gc: split out function to expire reflog entries
We're about to introduce a new task for git-maintenance(1) that knows to expire reflog entries. The logic will be shared with git-gc(1), which already knows how to do this. Pull out the common logic into a separate function so that we can share the implementation between both builtins. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions