receive-pack: allow a maximum input size to be specified
[gitweb.git] / Documentation / config.txt
index 0bcb6790d6efbb2a812bc90b6f64e323cb3ec393..8a115b3702ebe6c9a8af376b978503c8db295064 100644 (file)
@@ -2517,6 +2517,12 @@ receive.unpackLimit::
        especially on slow filesystems.  If not set, the value of
        `transfer.unpackLimit` is used instead.
 
+receive.maxInputSize::
+       If the size of the incoming pack stream is larger than this
+       limit, then git-receive-pack will error out, instead of
+       accepting the pack file. If not set or set to 0, then the size
+       is unlimited.
+
 receive.denyDeletes::
        If set to true, git-receive-pack will deny a ref update that deletes
        the ref. Use this to prevent such a ref deletion via a push.