diff options
Diffstat (limited to 'man1/git-gc.1')
-rw-r--r-- | man1/git-gc.1 | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/man1/git-gc.1 b/man1/git-gc.1 index 5f445a3b6..ab8a90dfa 100644 --- a/man1/git-gc.1 +++ b/man1/git-gc.1 @@ -2,12 +2,12 @@ .\" Title: git-gc .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2023-10-13 +.\" Date: 2023-10-18 .\" Manual: Git Manual -.\" Source: Git 2.42.0.398.ga9ecda2788 +.\" Source: Git 2.42.0.411.g813d9a9188 .\" Language: English .\" -.TH "GIT\-GC" "1" "2023\-10\-13" "Git 2\&.42\&.0\&.398\&.ga9ecda" "Git Manual" +.TH "GIT\-GC" "1" "2023\-10\-18" "Git 2\&.42\&.0\&.411\&.g813d9a" "Git Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -76,6 +76,19 @@ When expiring unreachable objects, pack them separately into a cruft pack instea is on by default\&. .RE .PP +\-\-max\-cruft\-size=<n> +.RS 4 +When packing unreachable objects into a cruft pack, limit the size of new cruft packs to be at most +\fB<n>\fR +bytes\&. Overrides any value specified via the +\fBgc\&.maxCruftSize\fR +configuration\&. See the +\fB\-\-max\-cruft\-size\fR +option of +\fBgit-repack\fR(1) +for more\&. +.RE +.PP \-\-prune=<date> .RS 4 Prune loose objects older than date (default is 2 weeks ago, overridable by the config variable @@ -252,6 +265,15 @@ Store unreachable objects in a cruft pack (see \fBtrue\fR\&. .RE .PP +gc\&.maxCruftSize +.RS 4 +Limit the size of new cruft packs when repacking\&. When specified in addition to +\fB\-\-max\-cruft\-size\fR, the command line option takes priority\&. See the +\fB\-\-max\-cruft\-size\fR +option of +\fBgit-repack\fR(1)\&. +.RE +.PP gc\&.pruneExpire .RS 4 When |