]> source.dussan.org Git - jgit.git/commit
ReceivePack: Moves connectivity check to separate class 97/152097/11
authorDemetr Starshov <dstarshov@google.com>
Tue, 8 Oct 2019 23:53:22 +0000 (16:53 -0700)
committerDemetr Starshov <dstarshov@google.com>
Thu, 5 Dec 2019 19:46:36 +0000 (11:46 -0800)
commit945d43d50730277f875ff46e823e72f35493ccad
treec1c5109f2a6417a78850abb4e5587b1a41f5dd04
parent97844038d9541b7fae6b0b9fbd86414be7486328
ReceivePack: Moves connectivity check to separate class

Move all connectivity check to separate classes. Set default to be
FullConnectivityChecker i.e. checker which will check connectivity
from all advertised refs. Add ability to set other connectivity
checker which can use different approach.

Signed-off-by: Demetr Starshov <dstarshov@google.com>
Change-Id: Ibb107dbfbdde8ad109be25b5ecf42be7660ef736
org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/internal/ConnectivityChecker.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/transport/internal/FullConnectivityChecker.java [new file with mode: 0644]