make --max-pack-size argument to 'git pack-object' count in bytes
[gitweb.git] / Documentation / git-repack.txt
index 538895c50c507adaeeff421a0394fef785850269..e2f2fa203283bec617c68a47d7acd8509b1bbdf7 100644 (file)
@@ -98,10 +98,12 @@ other objects in that pack they already have locally.
        `--window-memory=0` makes memory usage unlimited, which is the
        default.
 
---max-pack-size=<n>::
-       Maximum size of each output packfile, expressed in MiB.
+--max-pack-size=[N]::
+       Maximum size of each output pack file. The size can be suffixed with
+       "k", "m", or "g". The minimum size allowed is limited to 1 MiB.
        If specified,  multiple packfiles may be created.
-       The default is unlimited.
+       The default is unlimited, unless the config variable
+       `pack.packSizeLimit` is set.
 
 
 Configuration