]> source.dussan.org Git - jgit.git/commit
Support a configured credentials provider in LsRemoteCommand 71/4571/4
authorKevin Sawicki <kevin@github.com>
Tue, 8 Nov 2011 20:49:16 +0000 (12:49 -0800)
committerChris Aniszczyk <zx@twitter.com>
Thu, 10 Nov 2011 18:57:47 +0000 (10:57 -0800)
commitda901c49688ef72858cd2b6904e0f8e478fa0ec3
tree563d2d1bcd2ae7996200e07edd8bd98d3085e03a
parentc0392381ee915c8ddd08a5fe8b94548fd86b8fcd
Support a configured credentials provider in LsRemoteCommand

Refactored the three common transport configuration options:
credentials provider, timeout, and transport config callback
into a new TransportCommand base class which is now extended
by all commands that use a Transport object during execution.

Bug: 349188
Change-Id: I90c2c14fb4e3cc4712905158f9047153a0c235c2
Signed-off-by: Kevin Sawicki <kevin@github.com>
Signed-off-by: Chris Aniszczyk <zx@twitter.com>
org.eclipse.jgit/src/org/eclipse/jgit/api/CloneCommand.java
org.eclipse.jgit/src/org/eclipse/jgit/api/FetchCommand.java
org.eclipse.jgit/src/org/eclipse/jgit/api/LsRemoteCommand.java
org.eclipse.jgit/src/org/eclipse/jgit/api/PullCommand.java
org.eclipse.jgit/src/org/eclipse/jgit/api/PushCommand.java
org.eclipse.jgit/src/org/eclipse/jgit/api/TransportCommand.java [new file with mode: 0644]