diff options
author | Christian Couder <christian.couder@gmail.com> | 2016-08-24 20:41:56 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-08-24 12:31:05 -0700 |
commit | 5ad218673328262839542b841b505c78132857e7 (patch) | |
tree | 2ef58afd5dc15450ae335f3318204daa4839b96b /Documentation/git-unpack-objects.txt | |
parent | 411481be6f27fb1ae8e2263d1e686357226391a3 (diff) | |
download | git-5ad218673328262839542b841b505c78132857e7.tar.gz |
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>
Diffstat (limited to 'Documentation/git-unpack-objects.txt')
-rw-r--r-- | Documentation/git-unpack-objects.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/git-unpack-objects.txt b/Documentation/git-unpack-objects.txt index 3e887d1610..b3de50d710 100644 --- a/Documentation/git-unpack-objects.txt +++ b/Documentation/git-unpack-objects.txt @@ -44,6 +44,9 @@ OPTIONS --strict:: Don't write objects with broken content or links. +--max-input-size=<size>:: + Die, if the pack is larger than <size>. + GIT --- Part of the linkgit:git[1] suite |