gc: add gc.bigPackThreshold config
[gitweb.git] / Documentation / config.txt
index 2659153cb377554bc5cf6fc4199233b2bab498a2..728ae902e622ec37758a6d35ca6e5f1ba6b56f80 100644 (file)
@@ -1558,6 +1558,13 @@ gc.autoDetach::
        Make `git gc --auto` return immediately and run in background
        if the system supports it. Default is true.
 
+gc.bigPackThreshold::
+       If non-zero, all packs larger than this limit are kept when
+       `git gc` is run. This is very similar to `--keep-base-pack`
+       except that all packs that meet the threshold are kept, not
+       just the base pack. Defaults to zero. Common unit suffixes of
+       'k', 'm', or 'g' are supported.
+
 gc.logExpiry::
        If the file gc.log exists, then `git gc --auto` won't run
        unless that file is more than 'gc.logExpiry' old.  Default is