summaryrefslogtreecommitdiff
path: root/Documentation/git-index-pack.txt
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2016-08-24 18:41:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-08-24 19:31:05 (GMT)
commit411481be6f27fb1ae8e2263d1e686357226391a3 (patch)
treefe311af3eb435dadc69a35682ac8dbfbbc11256e /Documentation/git-index-pack.txt
parent2632c897f74b1cc9b5533f467da459b9ec725538 (diff)
downloadgit-411481be6f27fb1ae8e2263d1e686357226391a3.zip
git-411481be6f27fb1ae8e2263d1e686357226391a3.tar.gz
git-411481be6f27fb1ae8e2263d1e686357226391a3.tar.bz2
index-pack: add --max-input-size=<size> option
When receiving a pack-file, it can be useful to abort the `git index-pack`, if the pack-file is too big. 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-index-pack.txt')
-rw-r--r--Documentation/git-index-pack.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/git-index-pack.txt b/Documentation/git-index-pack.txt
index 7a4e055..1b4b65d 100644
--- a/Documentation/git-index-pack.txt
+++ b/Documentation/git-index-pack.txt
@@ -87,6 +87,8 @@ OPTIONS
Specifying 0 will cause Git to auto-detect the number of CPU's
and use maximum 3 threads.
+--max-input-size=<size>::
+ Die, if the pack is larger than <size>.
Note
----