summaryrefslogtreecommitdiffstats
path: root/git-gc.txt
diff options
context:
space:
mode:
Diffstat (limited to 'git-gc.txt')
-rw-r--r--git-gc.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/git-gc.txt b/git-gc.txt
index 90806fd26..b5561c458 100644
--- a/git-gc.txt
+++ b/git-gc.txt
@@ -59,6 +59,13 @@ be performed as well.
cruft pack instead of storing them as loose objects. `--cruft`
is on by default.
+--max-cruft-size=<n>::
+ When packing unreachable objects into a cruft pack, limit the
+ size of new cruft packs to be at most `<n>` bytes. Overrides any
+ value specified via the `gc.maxCruftSize` configuration. See
+ the `--max-cruft-size` option of linkgit:git-repack[1] for
+ more.
+
--prune=<date>::
Prune loose objects older than date (default is 2 weeks ago,
overridable by the config variable `gc.pruneExpire`).