]> source.dussan.org Git - jgit.git/commit
transport: Let users specify an error handler for unpacking a pack file 60/152360/2
authorMasaya Suzuki <masayasuzuki@google.com>
Fri, 8 Nov 2019 18:12:20 +0000 (10:12 -0800)
committerMasaya Suzuki <masayasuzuki@google.com>
Mon, 2 Dec 2019 22:03:46 +0000 (14:03 -0800)
commit6ccff81428d1df0b020db43268e845cb4ab7ed46
tree9c8e8c2a84ee2d265a7bcd22a05caba0bf18b0d0
parent224746e0f201ae1bd8614e3c6204ee832c515578
transport: Let users specify an error handler for unpacking a pack file

Currently, there's no way for a user to customize the error handler for
the exception happened during unpacking an incoming pack file. Create an
error handler class and let them specify one.

Change-Id: Id07638ee58c88e1365181c3ddd17ee0266f3934d
Signed-off-by: Masaya Suzuki <masayasuzuki@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/UnpackErrorHandler.java [new file with mode: 0644]