summaryrefslogtreecommitdiffstats
path: root/git-gc.html
diff options
context:
space:
mode:
Diffstat (limited to 'git-gc.html')
-rw-r--r--git-gc.html25
1 files changed, 24 insertions, 1 deletions
diff --git a/git-gc.html b/git-gc.html
index 00faee694..796d5ce4f 100644
--- a/git-gc.html
+++ b/git-gc.html
@@ -816,6 +816,18 @@ be performed as well.</p></div>
</p>
</dd>
<dt class="hdlist1">
+--max-cruft-size=&lt;n&gt;
+</dt>
+<dd>
+<p>
+ When packing unreachable objects into a cruft pack, limit the
+ size of new cruft packs to be at most <code>&lt;n&gt;</code> bytes. Overrides any
+ value specified via the <code>gc.maxCruftSize</code> configuration. See
+ the <code>--max-cruft-size</code> option of <a href="git-repack.html">git-repack(1)</a> for
+ more.
+</p>
+</dd>
+<dt class="hdlist1">
--prune=&lt;date&gt;
</dt>
<dd>
@@ -1031,6 +1043,17 @@ gc.cruftPacks
</p>
</dd>
<dt class="hdlist1">
+gc.maxCruftSize
+</dt>
+<dd>
+<p>
+ Limit the size of new cruft packs when repacking. When
+ specified in addition to <code>--max-cruft-size</code>, the command line
+ option takes priority. See the <code>--max-cruft-size</code> option of
+ <a href="git-repack.html">git-repack(1)</a>.
+</p>
+</dd>
+<dt class="hdlist1">
gc.pruneExpire
</dt>
<dd>
@@ -1234,7 +1257,7 @@ seems to be low in practice).</p></div>
<div id="footer">
<div id="footer-text">
Last updated
- 2023-04-28 16:26:53 PDT
+ 2023-10-18 13:44:22 PDT
</div>
</div>
</body>