unpack-objects: add --max-input-size=<size> option
authorChristian Couder <christian.couder@gmail.com>
Wed, 24 Aug 2016 18:41:56 +0000 (20:41 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 Aug 2016 19:31:05 +0000 (12:31 -0700)
commit5ad218673328262839542b841b505c78132857e7
tree2ef58afd5dc15450ae335f3318204daa4839b96b
parent411481be6f27fb1ae8e2263d1e686357226391a3
unpack-objects: add --max-input-size=<size> option

When receiving a pack-file, it can be useful to abort the
`git unpack-objects`, if the pack-file is too big.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-unpack-objects.txt
builtin/unpack-objects.c