summaryrefslogtreecommitdiff
path: root/Documentation/git-index-pack.txt
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2016-08-24 20:41:55 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-08-24 12:31:05 -0700
commit411481be6f27fb1ae8e2263d1e686357226391a3 (patch)
treefe311af3eb435dadc69a35682ac8dbfbbc11256e /Documentation/git-index-pack.txt
parentGit 2.10-rc1 (diff)
downloadtgif-411481be6f27fb1ae8e2263d1e686357226391a3.tar.xz
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 7a4e055520..1b4b65d665 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
----