summaryrefslogtreecommitdiffstats
path: root/man1/git-gc.1
diff options
context:
space:
mode:
Diffstat (limited to 'man1/git-gc.1')
-rw-r--r--man1/git-gc.120
1 files changed, 11 insertions, 9 deletions
diff --git a/man1/git-gc.1 b/man1/git-gc.1
index 915200593..89a11ef83 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-04-27
+.\" Date: 2023-04-28
.\" Manual: Git Manual
-.\" Source: Git 2.40.1.445.gf85cd430b1
+.\" Source: Git 2.40.1.459.g48d89b51b3
.\" Language: English
.\"
-.TH "GIT\-GC" "1" "2023\-04\-27" "Git 2\&.40\&.1\&.445\&.gf85cd4" "Git Manual"
+.TH "GIT\-GC" "1" "2023\-04\-28" "Git 2\&.40\&.1\&.459\&.g48d89b" "Git Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -69,9 +69,11 @@ and
\fBgc\&.autoPackLimit\fR, all other housekeeping tasks (e\&.g\&. rerere, working trees, reflog\&...) will be performed as well\&.
.RE
.PP
-\-\-cruft
+\-\-[no\-]cruft
.RS 4
When expiring unreachable objects, pack them separately into a cruft pack instead of storing them as loose objects\&.
+\fB\-\-cruft\fR
+is on by default\&.
.RE
.PP
\-\-prune=<date>
@@ -101,9 +103,9 @@ instance running on this repository\&.
.PP
\-\-keep\-largest\-pack
.RS 4
-All packs except the largest pack and those marked with a
+All packs except the largest non\-cruft pack, any packs marked with a
\fB\&.keep\fR
-files are consolidated into a single pack\&. When this option is used,
+file, and any cruft pack(s) are consolidated into a single pack\&. When this option is used,
\fBgc\&.bigPackThreshold\fR
is ignored\&.
.RE
@@ -186,11 +188,11 @@ return immediately and run in background if the system supports it\&. Default is
.PP
gc\&.bigPackThreshold
.RS 4
-If non\-zero, all packs larger than this limit are kept when
+If non\-zero, all non\-cruft packs larger than this limit are kept when
\fBgit gc\fR
is run\&. This is very similar to
\fB\-\-keep\-largest\-pack\fR
-except that all packs that meet the threshold are kept, not just the largest pack\&. Defaults to zero\&. Common unit suffixes of
+except that all non\-cruft packs that meet the threshold are kept, not just the largest pack\&. Defaults to zero\&. Common unit suffixes of
\fIk\fR,
\fIm\fR, or
\fIg\fR
@@ -247,7 +249,7 @@ gc\&.cruftPacks
.RS 4
Store unreachable objects in a cruft pack (see
\fBgit-repack\fR(1)) instead of as loose objects\&. The default is
-\fBfalse\fR\&.
+\fBtrue\fR\&.
.RE
.PP
gc\&.pruneExpire