summaryrefslogtreecommitdiffstats
path: root/man1/git-maintenance.1
diff options
Diffstat (limited to 'man1/git-maintenance.1')
-rw-r--r--man1/git-maintenance.152
1 files changed, 49 insertions, 3 deletions
diff --git a/man1/git-maintenance.1 b/man1/git-maintenance.1
index cf7865a922..7566fe6747 100644
--- a/man1/git-maintenance.1
+++ b/man1/git-maintenance.1
@@ -2,12 +2,12 @@
.\" Title: git-maintenance
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
.\" Generator: DocBook XSL Stylesheets v1.79.2 <http://docbook.sf.net/>
-.\" Date: 2025-05-13
+.\" Date: 2025-05-15
.\" Manual: Git Manual
-.\" Source: Git 2.49.0.592.g1a8a4971cc
+.\" Source: Git 2.49.0.608.gcb96e1697a
.\" Language: English
.\"
-.TH "GIT\-MAINTENANCE" "1" "2025-05-13" "Git 2\&.49\&.0\&.592\&.g1a8a49" "Git Manual"
+.TH "GIT\-MAINTENANCE" "1" "2025-05-15" "Git 2\&.49\&.0\&.608\&.gcb96e1" "Git Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -273,6 +273,22 @@ task deletes any entries in the reflog older than the expiry threshold\&. See
\fBgit-reflog\fR(1)
for more information\&.
.RE
+.PP
+rerere\-gc
+.RS 4
+The
+\fBrerere\-gc\fR
+task invokes garbage collection for stale entries in the rerere cache\&. See
+\fBgit-rerere\fR(1)
+for more information\&.
+.RE
+.PP
+worktree\-prune
+.RS 4
+The
+\fBworktree\-prune\fR
+task deletes stale or broken worktrees\&. See linkit:git\-worktree[1] for more information\&.
+.RE
.SH "OPTIONS"
.PP
\-\-auto
@@ -646,6 +662,36 @@ task will not run with the
option\&. A negative value will force the task to run every time\&. Otherwise, a positive value implies the command should run when the number of expired reflog entries in the "HEAD" reflog is at least the value of
\fBmaintenance\&.loose\-objects\&.auto\fR\&. The default value is 100\&.
.RE
+.PP
+maintenance\&.rerere\-gc\&.auto
+.RS 4
+This integer config option controls how often the
+\fBrerere\-gc\fR
+task should be run as part of
+\fBgit\fR
+\fBmaintenance\fR
+\fBrun\fR
+\fB\-\-auto\fR\&. If zero, then the
+\fBrerere\-gc\fR
+task will not run with the
+\fB\-\-auto\fR
+option\&. A negative value will force the task to run every time\&. Otherwise, any positive value implies the command will run when the "rr\-cache" directory exists and has at least one entry, regardless of whether it is stale or not\&. This heuristic may be refined in the future\&. The default value is 1\&.
+.RE
+.PP
+maintenance\&.worktree\-prune\&.auto
+.RS 4
+This integer config option controls how often the
+\fBworktree\-prune\fR
+task should be run as part of
+\fBgit\fR
+\fBmaintenance\fR
+\fBrun\fR
+\fB\-\-auto\fR\&. If zero, then the
+\fBworktree\-prune\fR
+task will not run with the
+\fB\-\-auto\fR
+option\&. A negative value will force the task to run every time\&. Otherwise, a positive value implies the command should run when the number of prunable worktrees exceeds the value\&. The default value is 1\&.
+.RE
.SH "GIT"
.sp
Part of the \fBgit\fR(1) suite