diff options
author | Patrick Steinhardt <ps@pks.im> | 2025-04-08 08:22:16 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-04-08 07:53:27 -0700 |
commit | 3fef24ac3fbcc6ad9e325a293b59ee38645f2407 (patch) | |
tree | 15d1e27d90dd219e2fe274a65662807b649b6b1b /builtin/commit.c | |
parent | d20fc193b663cd98364c07195e6cb38618a30c10 (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