private void |
FetchProcess.addUpdateBatchCommands(FetchResult result,
BatchRefUpdate batch) |
|
private boolean |
WalkFetchConnection.alreadyHave(AnyObjectId id) |
|
private boolean |
FetchProcess.askForIsComplete() |
|
(package private) void |
TransportGitSsh.checkExecFailure(int status,
java.lang.String exe,
java.lang.String why) |
|
private HttpConnection |
TransportHttp.connect(java.lang.String service) |
|
private void |
WalkPushConnection.createNewRepository(java.util.List<RemoteRefUpdate> updates) |
|
private TrackingRefUpdate |
FetchProcess.createUpdate(RefSpec spec,
ObjectId newId) |
|
protected abstract void |
BaseFetchConnection.doFetch(ProgressMonitor monitor,
java.util.Collection<Ref> want,
java.util.Set<ObjectId> have) |
|
protected void |
BasePackFetchConnection.doFetch(ProgressMonitor monitor,
java.util.Collection<Ref> want,
java.util.Set<ObjectId> have,
java.io.OutputStream outputStream) |
Execute common ancestor negotiation and fetch the objects.
|
protected void |
BundleFetchConnection.doFetch(ProgressMonitor monitor,
java.util.Collection<Ref> want,
java.util.Set<ObjectId> have) |
|
protected void |
TransportHttp.SmartHttpFetchConnection.doFetch(ProgressMonitor monitor,
java.util.Collection<Ref> want,
java.util.Set<ObjectId> have,
java.io.OutputStream outputStream) |
|
protected void |
WalkFetchConnection.doFetch(ProgressMonitor monitor,
java.util.Collection<Ref> want,
java.util.Set<ObjectId> have) |
|
protected void |
BasePackPushConnection.doPush(ProgressMonitor monitor,
java.util.Map<java.lang.String,RemoteRefUpdate> refUpdates,
java.io.OutputStream outputStream) |
Push one or more objects and update the remote repository.
|
protected void |
TransportHttp.SmartHttpPushConnection.doPush(ProgressMonitor monitor,
java.util.Map<java.lang.String,RemoteRefUpdate> refUpdates,
java.io.OutputStream outputStream) |
|
private boolean |
WalkFetchConnection.downloadLooseObject(AnyObjectId id,
java.lang.String looseName,
WalkRemoteObjectDatabase remote) |
|
private void |
WalkFetchConnection.downloadObject(ProgressMonitor pm,
AnyObjectId id) |
|
private boolean |
WalkFetchConnection.downloadPackedObject(ProgressMonitor monitor,
AnyObjectId id) |
|
private java.lang.String |
BasePackFetchConnection.enableCapabilities() |
|
java.lang.Process |
TransportGitSsh.ExtSession.exec(java.lang.String command,
int timeout) |
|
(package private) void |
FetchProcess.execute(ProgressMonitor monitor,
FetchResult result) |
|
(package private) PushResult |
PushProcess.execute(ProgressMonitor monitor) |
Perform push operation between local and remote repository - set remote
refs appropriately, send needed objects and update local tracking refs.
|
private void |
FetchProcess.executeImp(ProgressMonitor monitor,
FetchResult result) |
|
private java.util.Collection<Ref> |
FetchProcess.expandAutoFollowTags() |
|
private void |
FetchProcess.expandFetchTags() |
|
private void |
FetchProcess.expandSingle(RefSpec spec,
java.util.Set<Ref> matched) |
|
private void |
FetchProcess.expandWildcard(RefSpec spec,
java.util.Set<Ref> matched) |
|
void |
BaseFetchConnection.fetch(ProgressMonitor monitor,
java.util.Collection<Ref> want,
java.util.Set<ObjectId> have) |
Fetch objects we don't have but that are reachable from advertised refs.
|
void |
BaseFetchConnection.fetch(ProgressMonitor monitor,
java.util.Collection<Ref> want,
java.util.Set<ObjectId> have,
java.io.OutputStream out) |
Fetch objects we don't have but that are reachable from advertised refs.
|
void |
BasePackFetchConnection.fetch(ProgressMonitor monitor,
java.util.Collection<Ref> want,
java.util.Set<ObjectId> have) |
Fetch objects we don't have but that are reachable from advertised refs.
|
void |
BasePackFetchConnection.fetch(ProgressMonitor monitor,
java.util.Collection<Ref> want,
java.util.Set<ObjectId> have,
java.io.OutputStream outputStream) |
Fetch objects we don't have but that are reachable from advertised refs.
|
void |
FetchConnection.fetch(ProgressMonitor monitor,
java.util.Collection<Ref> want,
java.util.Set<ObjectId> have) |
Fetch objects we don't have but that are reachable from advertised refs.
|
void |
FetchConnection.fetch(ProgressMonitor monitor,
java.util.Collection<Ref> want,
java.util.Set<ObjectId> have,
java.io.OutputStream out) |
Fetch objects we don't have but that are reachable from advertised refs.
|
FetchResult |
Transport.fetch(ProgressMonitor monitor,
java.util.Collection<RefSpec> toFetch) |
Fetch objects and refs from the remote repository to the local one.
|
private void |
FetchProcess.fetchObjects(ProgressMonitor monitor) |
|
RemoteSession |
JschConfigSessionFactory.getSession(URIish uri,
CredentialsProvider credentialsProvider,
FS fs,
int tms) |
Open (or reuse) a session to a host.
|
abstract RemoteSession |
SshSessionFactory.getSession(URIish uri,
CredentialsProvider credentialsProvider,
FS fs,
int tms) |
Open (or reuse) a session to a host.
|
protected RemoteSession |
SshTransport.getSession() |
Get the default SSH session
|
private void |
TransportHttp.handleSslFailure(java.lang.Throwable e) |
|
private boolean |
FetchProcess.localHasObject(ObjectId id) |
|
private java.util.Map<java.lang.String,Ref> |
FetchProcess.localRefs() |
|
private void |
WalkFetchConnection.markLocalCommitsComplete(int until) |
|
private void |
WalkFetchConnection.markLocalRefsComplete(java.util.Set<ObjectId> have) |
|
protected void |
BaseConnection.markStartedOperation() |
Helper method for ensuring one-operation per connection.
|
Transport |
TestProtocol.open(URIish uri,
Repository local,
java.lang.String remoteName) |
Open a Transport instance to the other repository.
|
static Transport |
Transport.open(Repository local,
java.lang.String remote) |
Open a new transport instance to connect two repositories.
|
static Transport |
Transport.open(Repository local,
java.lang.String remote,
Transport.Operation op) |
Open a new transport instance to connect two repositories.
|
static Transport |
Transport.open(Repository local,
RemoteConfig cfg) |
Open a new transport instance to connect two repositories.
|
static Transport |
Transport.open(Repository local,
RemoteConfig cfg,
Transport.Operation op) |
Open a new transport instance to connect two repositories.
|
static Transport |
Transport.open(Repository local,
URIish uri) |
Open a new transport instance to connect two repositories.
|
static Transport |
Transport.open(Repository local,
URIish uri,
java.lang.String remoteName) |
Open a new transport instance to connect two repositories.
|
static Transport |
Transport.open(URIish uri) |
Open a new transport with no local repository.
|
Transport |
TransportProtocol.open(URIish uri) |
Open a new transport instance to the remote repository.
|
abstract Transport |
TransportProtocol.open(URIish uri,
Repository local,
java.lang.String remoteName) |
Open a Transport instance to the other repository.
|
static java.util.List<Transport> |
Transport.openAll(Repository local,
java.lang.String remote) |
Open new transport instances to connect two repositories.
|
static java.util.List<Transport> |
Transport.openAll(Repository local,
java.lang.String remote,
Transport.Operation op) |
Open new transport instances to connect two repositories.
|
static java.util.List<Transport> |
Transport.openAll(Repository local,
RemoteConfig cfg) |
Open new transport instances to connect two repositories.
|
static java.util.List<Transport> |
Transport.openAll(Repository local,
RemoteConfig cfg,
Transport.Operation op) |
Open new transport instances to connect two repositories.
|
(package private) java.net.Socket |
TransportGitAnon.openConnection() |
|
FetchConnection |
TestProtocol.TransportInternal.openFetch() |
|
abstract FetchConnection |
Transport.openFetch() |
Begins a new connection for fetching from the remote repository.
|
FetchConnection |
TransportAmazonS3.openFetch() |
Begins a new connection for fetching from the remote repository.
|
FetchConnection |
TransportBundleFile.openFetch() |
Begins a new connection for fetching from the remote repository.
|
FetchConnection |
TransportBundleStream.openFetch() |
Begins a new connection for fetching from the remote repository.
|
FetchConnection |
TransportGitAnon.openFetch() |
Begins a new connection for fetching from the remote repository.
|
FetchConnection |
TransportGitSsh.openFetch() |
Begins a new connection for fetching from the remote repository.
|
FetchConnection |
TransportHttp.openFetch() |
Begins a new connection for fetching from the remote repository.
|
FetchConnection |
TransportLocal.openFetch() |
Begins a new connection for fetching from the remote repository.
|
FetchConnection |
TransportSftp.openFetch() |
Begins a new connection for fetching from the remote repository.
|
PushConnection |
TestProtocol.TransportInternal.openPush() |
|
abstract PushConnection |
Transport.openPush() |
Begins a new connection for pushing into the remote repository.
|
PushConnection |
TransportAmazonS3.openPush() |
Begins a new connection for pushing into the remote repository.
|
PushConnection |
TransportGitAnon.openPush() |
Begins a new connection for pushing into the remote repository.
|
PushConnection |
TransportGitSsh.openPush() |
Begins a new connection for pushing into the remote repository.
|
PushConnection |
TransportHttp.openPush() |
Begins a new connection for pushing into the remote repository.
|
PushConnection |
TransportLocal.openPush() |
Begins a new connection for pushing into the remote repository.
|
PushConnection |
TransportSftp.openPush() |
Begins a new connection for pushing into the remote repository.
|
private Repository |
TransportLocal.openRepo() |
|
private java.util.Map<java.lang.String,RemoteRefUpdate> |
PushProcess.prepareRemoteUpdates() |
|
private void |
WalkFetchConnection.process(ObjectId id) |
|
private void |
WalkFetchConnection.processBlob(RevObject obj) |
|
private void |
WalkFetchConnection.processCommit(RevObject obj) |
|
private void |
WalkFetchConnection.processTree(RevObject obj) |
|
void |
BasePackPushConnection.push(ProgressMonitor monitor,
java.util.Map<java.lang.String,RemoteRefUpdate> refUpdates) |
Pushes to the remote repository basing on provided specification.
|
void |
BasePackPushConnection.push(ProgressMonitor monitor,
java.util.Map<java.lang.String,RemoteRefUpdate> refUpdates,
java.io.OutputStream outputStream) |
Pushes to the remote repository basing on provided specification.
|
void |
PushConnection.push(ProgressMonitor monitor,
java.util.Map<java.lang.String,RemoteRefUpdate> refUpdates) |
Pushes to the remote repository basing on provided specification.
|
void |
PushConnection.push(ProgressMonitor monitor,
java.util.Map<java.lang.String,RemoteRefUpdate> refUpdates,
java.io.OutputStream out) |
Pushes to the remote repository basing on provided specification.
|
PushResult |
Transport.push(ProgressMonitor monitor,
java.util.Collection<RemoteRefUpdate> toPush) |
Push objects and refs from the local repository to the remote one.
|
PushResult |
Transport.push(ProgressMonitor monitor,
java.util.Collection<RemoteRefUpdate> toPush,
java.io.OutputStream out) |
Push objects and refs from the local repository to the remote one.
|
void |
WalkPushConnection.push(ProgressMonitor monitor,
java.util.Map<java.lang.String,RemoteRefUpdate> refUpdates) |
Pushes to the remote repository basing on provided specification.
|
void |
WalkPushConnection.push(ProgressMonitor monitor,
java.util.Map<java.lang.String,RemoteRefUpdate> refUpdates,
java.io.OutputStream out) |
Pushes to the remote repository basing on provided specification.
|
private void |
WalkFetchConnection.queueWants(java.util.Collection<Ref> want) |
|
protected void |
BasePackConnection.readAdvertisedRefs() |
Reads the advertised references through the initialized stream.
|
(package private) java.util.Map<java.lang.String,Ref> |
TransportAmazonS3.DatabaseS3.readAdvertisedRefs() |
|
(package private) java.util.Map<java.lang.String,Ref> |
TransportSftp.SftpObjectDB.readAdvertisedRefs() |
|
private void |
TransportAmazonS3.DatabaseS3.readLooseRefs(java.util.TreeMap<java.lang.String,Ref> avail) |
|
private void |
TransportSftp.SftpObjectDB.readLooseRefs(java.util.TreeMap<java.lang.String,Ref> avail,
java.lang.String dir,
java.lang.String prefix) |
|
protected void |
WalkRemoteObjectDatabase.readPackedRefs(java.util.Map<java.lang.String,Ref> avail) |
Read a standard Git packed-refs file to discover known references.
|
private Ref |
TransportAmazonS3.DatabaseS3.readRef(java.util.TreeMap<java.lang.String,Ref> avail,
java.lang.String rn) |
|
private Ref |
TransportSftp.SftpObjectDB.readRef(java.util.TreeMap<java.lang.String,Ref> avail,
java.lang.String path,
java.lang.String name) |
|
private URIish |
TransportHttp.redirect(java.net.URL currentUrl,
java.lang.String location,
java.lang.String checkFor,
int redirects) |
|
private void |
FetchProcess.reopenConnection() |
|
private void |
WalkPushConnection.sendpack(java.util.List<RemoteRefUpdate> updates,
ProgressMonitor monitor) |
|
private PushConnection |
TransportHttp.smartPush(java.lang.String service,
HttpConnection c,
java.io.InputStream in) |
|
protected java.lang.Process |
TransportLocal.spawn(java.lang.String cmd) |
Spawn process
|
private void |
BundleFetchConnection.verifyPrerequisites() |
|
private void |
FetchProcess.want(Ref src,
RefSpec spec) |
|
private void |
FetchProcess.wantTag(Ref r) |
|