diff options
author | Jeff King <peff@peff.net> | 2016-08-24 20:41:57 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-08-24 12:31:05 -0700 |
commit | c08db5a2d0d5c0cf371168e621d5929005b1abf8 (patch) | |
tree | 9c2524e1e142c08bc399b6ede6a6d72f7485d950 /show-index.c | |
parent | 5ad218673328262839542b841b505c78132857e7 (diff) | |
download | git-c08db5a2d0d5c0cf371168e621d5929005b1abf8.tar.gz |
receive-pack: allow a maximum input size to be specifiedcc/receive-pack-limit
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 'show-index.c')
0 files changed, 0 insertions, 0 deletions