]> source.dussan.org Git - jgit.git/commit
Add getter for unpackErrorHandler in ReceivePack 18/163418/3
authorJack Wickham <jwickham@palantir.com>
Fri, 22 May 2020 10:00:18 +0000 (11:00 +0100)
committerThomas Wolf <thomas.wolf@paranor.ch>
Fri, 5 Jun 2020 19:25:22 +0000 (15:25 -0400)
commit259d2540a3588f70eb123afef75637167674b06d
tree5bd6be7326a3847152abdb388e4c06cfb740cdfa
parent18050b569f9836e67df43ef66e78ace6ca9815d1
Add getter for unpackErrorHandler in ReceivePack

The current mechanism for updating the unpack error handler requires
that the error handler is replaced entirely, including communicating
the error to the user. Adding a getter means that delegating
implementations can be constructed so that the error can be processed
before sending to the user, for example for logging.

Change-Id: I4b6f78a041d0f6f5b4076a9a5781565ca3857817
Signed-off-by: Jack Wickham <jwickham@palantir.com>
org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java