diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-04-16 13:54:19 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-04-16 13:54:19 -0700 |
| commit | 01a6e244f951c0372ef541069570bb6bcfefcca3 (patch) | |
| tree | aa2c5b3be8af71410f2851b1e47ae4b1decf2e23 /Documentation/git-maintenance.adoc | |
| parent | 1a1661bd41697a106481e9e2467d0f5a0697349a (diff) | |
| parent | 8e0a1ec0762405e045d924eed68b872fd29844c9 (diff) | |
| download | git-01a6e244f951c0372ef541069570bb6bcfefcca3.tar.xz | |
Merge branch 'ps/maintenance-reflog-expire'
"git maintenance" learns a new task to expire reflog entries.
* ps/maintenance-reflog-expire:
builtin/maintenance: introduce "reflog-expire" task
builtin/gc: split out function to expire reflog entries
builtin/reflog: make functions regarding `reflog_expire_options` public
builtin/reflog: stop storing per-reflog expiry dates globally
builtin/reflog: stop storing default reflog expiry dates globally
reflog: rename `cmd_reflog_expire_cb` to `reflog_expire_options`
Diffstat (limited to 'Documentation/git-maintenance.adoc')
| -rw-r--r-- | Documentation/git-maintenance.adoc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/git-maintenance.adoc b/Documentation/git-maintenance.adoc index c90b370b1f..3a1e2a69b6 100644 --- a/Documentation/git-maintenance.adoc +++ b/Documentation/git-maintenance.adoc @@ -162,6 +162,10 @@ pack-refs:: need to iterate across many references. See linkgit:git-pack-refs[1] for more information. +reflog-expire:: + The `reflog-expire` task deletes any entries in the reflog older than the + expiry threshold. See linkgit:git-reflog[1] for more information. + OPTIONS ------- --auto:: |
