]> source.dussan.org Git - jgit.git/commit
Possibility to limit the max pack size on receive-pack 05/22505/1
authorSaša Živkov <sasa.zivkov@sap.com>
Thu, 30 Jan 2014 14:04:43 +0000 (15:04 +0100)
committerSaša Živkov <sasa.zivkov@sap.com>
Tue, 25 Feb 2014 13:20:31 +0000 (14:20 +0100)
commit0d05e5d26ce362b4b8c06e6b847fa93730065b48
treee80676a3090b0492f70a557d48eba73193f231a3
parent18b030bcb5c9c60e48df17ab128005829940e117
Possibility to limit the max pack size on receive-pack

The maxPackSizeLimit, when set, will reject a pack if it exceeds
that limit.

This feature is intended to provide a mechanism to control disk space
quota on Git repositories.

Change-Id: I83d8db670875c395f8171461b402083323e623a5
CQ: 7896
org.eclipse.jgit/resources/org/eclipse/jgit/internal/JGitText.properties
org.eclipse.jgit/src/org/eclipse/jgit/errors/TooLargePackException.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/internal/JGitText.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/BaseReceivePack.java
org.eclipse.jgit/src/org/eclipse/jgit/util/io/LimitedInputStream.java [new file with mode: 0644]