summaryrefslogtreecommitdiff
path: root/Documentation/git-receive-pack.txt
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2016-08-24 18:41:57 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-08-24 19:31:05 (GMT)
commitc08db5a2d0d5c0cf371168e621d5929005b1abf8 (patch)
tree9c2524e1e142c08bc399b6ede6a6d72f7485d950 /Documentation/git-receive-pack.txt
parent5ad218673328262839542b841b505c78132857e7 (diff)
downloadgit-c08db5a2d0d5c0cf371168e621d5929005b1abf8.zip
git-c08db5a2d0d5c0cf371168e621d5929005b1abf8.tar.gz
git-c08db5a2d0d5c0cf371168e621d5929005b1abf8.tar.bz2
receive-pack: allow a maximum input size to be specified
Receive-pack feeds its input to either index-pack or unpack-objects, which will happily accept as many bytes as a sender is willing to provide. Let's allow an arbitrary cutoff point where we will stop writing bytes to disk. Cleaning up what has already been written to disk is a related problem that is not addressed by this patch. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-receive-pack.txt')
-rw-r--r--Documentation/git-receive-pack.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/git-receive-pack.txt b/Documentation/git-receive-pack.txt
index 000ee8d..0ccd5fb 100644
--- a/Documentation/git-receive-pack.txt
+++ b/Documentation/git-receive-pack.txt
@@ -33,6 +33,9 @@ post-update hooks found in the Documentation/howto directory.
option, which tells it if updates to a ref should be denied if they
are not fast-forwards.
+A number of other receive.* config options are available to tweak
+its behavior, see linkgit:git-config[1].
+
OPTIONS
-------
<directory>::