gc: add gc.bigPackThreshold config
[gitweb.git] / Documentation / git-gc.txt
index 8f903231da3b6b5d9a28fa3fa60004251370627d..649faddfa62d665f1467f16d4e08246b43bd0c03 100644 (file)
@@ -56,7 +56,8 @@ single pack using `git repack -d -l`.  Setting the value of `gc.auto`
 to 0 disables automatic packing of loose objects.
 +
 If the number of packs exceeds the value of `gc.autoPackLimit`,
-then existing packs (except those marked with a `.keep` file)
+then existing packs (except those marked with a `.keep` file
+or over `gc.bigPackThreshold` limit)
 are consolidated into a single pack by using the `-A` option of
 'git repack'. Setting `gc.autoPackLimit` to 0 disables
 automatic consolidation of packs.
@@ -86,7 +87,8 @@ be performed as well.
 
 --keep-largest-pack::
        All packs except the largest pack and those marked with a
-       `.keep` files are consolidated into a single pack.
+       `.keep` files are consolidated into a single pack. When this
+       option is used, `gc.bigPackThreshold` is ignored.
 
 Configuration
 -------------