Package | Description |
---|---|
org.eclipse.jgit.hooks | |
org.eclipse.jgit.internal.ketch |
Distributed consensus system built on Git.
|
org.eclipse.jgit.junit.http | |
org.eclipse.jgit.lfs | |
org.eclipse.jgit.pgm | |
org.eclipse.jgit.transport |
Transport (fetch/push) for different protocols.
|
Modifier and Type | Method and Description |
---|---|
void |
PrePushHook.setRefs(java.util.Collection<RemoteRefUpdate> toRefs)
Set Refs
|
Modifier and Type | Class and Description |
---|---|
(package private) static class |
RemoteGitReplica.RemoteCommand |
Modifier and Type | Method and Description |
---|---|
private static java.util.Map<java.lang.String,RemoteRefUpdate> |
RemoteGitReplica.asUpdateMap(java.util.List<RemoteGitReplica.RemoteCommand> cmds) |
Modifier and Type | Method and Description |
---|---|
private static boolean |
RemoteGitReplica.isExpectedValue(java.util.Map<java.lang.String,Ref> adv,
RemoteRefUpdate u) |
Modifier and Type | Method and Description |
---|---|
private void |
RemoteGitReplica.prepareCommit(Repository git,
java.util.List<RemoteGitReplica.RemoteCommand> cmds,
java.util.Map<java.lang.String,RemoteRefUpdate> updates,
java.util.Map<java.lang.String,Ref> adv,
ObjectId committed) |
Modifier and Type | Method and Description |
---|---|
protected static java.util.Collection<RemoteRefUpdate> |
HttpTestCase.push(TestRepository from,
RevCommit q)
Push a commit
|
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<RemoteRefUpdate> |
LfsPrePushHook.refs |
Modifier and Type | Method and Description |
---|---|
void |
LfsPrePushHook.setRefs(java.util.Collection<RemoteRefUpdate> toRefs) |
Modifier and Type | Method and Description |
---|---|
private void |
Push.printRefUpdateResult(ObjectReader reader,
URIish uri,
PushResult result,
RemoteRefUpdate rru) |
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<RemoteRefUpdate> |
WalkPushConnection.packedRefUpdates
Updates which require altering the packed-refs file to complete.
|
private java.util.Map<java.lang.String,RemoteRefUpdate> |
PushResult.remoteUpdates |
private java.util.Map<java.lang.String,RemoteRefUpdate> |
PushProcess.toPush
Refs to update on remote side.
|
Modifier and Type | Method and Description |
---|---|
RemoteRefUpdate |
PushResult.getRemoteUpdate(java.lang.String refName)
Get status of specific remote ref update by remote ref name.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<RemoteRefUpdate> |
Transport.findRemoteRefUpdatesFor(java.util.Collection<RefSpec> specs)
Convert push remote refs update specification from
RefSpec form to
RemoteRefUpdate . |
java.util.Collection<RemoteRefUpdate> |
Transport.findRemoteRefUpdatesFor(java.util.Collection<RefSpec> specs,
java.util.Map<java.lang.String,RefLeaseSpec> leases)
Convert push remote refs update specification from
RefSpec form to
RemoteRefUpdate . |
static java.util.Collection<RemoteRefUpdate> |
Transport.findRemoteRefUpdatesFor(Repository db,
java.util.Collection<RefSpec> specs,
java.util.Collection<RefSpec> fetchSpecs)
Convert push remote refs update specification from
RefSpec form to
RemoteRefUpdate . |
static java.util.Collection<RemoteRefUpdate> |
Transport.findRemoteRefUpdatesFor(Repository db,
java.util.Collection<RefSpec> specs,
java.util.Map<java.lang.String,RefLeaseSpec> leases,
java.util.Collection<RefSpec> fetchSpecs)
Convert push remote refs update specification from
RefSpec form to
RemoteRefUpdate . |
java.util.Collection<RemoteRefUpdate> |
PushResult.getRemoteUpdates()
Get status of remote refs updates.
|
private java.util.Map<java.lang.String,RemoteRefUpdate> |
PushProcess.prepareRemoteUpdates() |
private java.util.Map<java.lang.String,RemoteRefUpdate> |
PushProcess.rejectAll() |
Modifier and Type | Method and Description |
---|---|
private void |
WalkPushConnection.deleteCommand(RemoteRefUpdate u) |
private void |
WalkPushConnection.updateCommand(RemoteRefUpdate u) |
Modifier and Type | Method and Description |
---|---|
private void |
WalkPushConnection.createNewRepository(java.util.List<RemoteRefUpdate> updates) |
protected void |
TransportHttp.SmartHttpPushConnection.doPush(ProgressMonitor monitor,
java.util.Map<java.lang.String,RemoteRefUpdate> refUpdates,
java.io.OutputStream outputStream) |
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.
|
private static java.lang.String |
WalkPushConnection.pickHEAD(java.util.List<RemoteRefUpdate> updates) |
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 |
PushConnection.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)
Pushes to the remote repository basing on provided specification.
|
void |
BasePackPushConnection.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.
|
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.
|
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.
|
private void |
BasePackPushConnection.readStatusReport(java.util.Map<java.lang.String,RemoteRefUpdate> refUpdates) |
private void |
WalkPushConnection.sendpack(java.util.List<RemoteRefUpdate> updates,
ProgressMonitor monitor) |
(package private) void |
PushResult.setRemoteUpdates(java.util.Map<java.lang.String,RemoteRefUpdate> remoteUpdates) |
private void |
BasePackPushConnection.writeCommands(java.util.Collection<RemoteRefUpdate> refUpdates,
ProgressMonitor monitor,
java.io.OutputStream outputStream) |
private void |
BasePackPushConnection.writePack(java.util.Map<java.lang.String,RemoteRefUpdate> refUpdates,
ProgressMonitor monitor) |
Constructor and Description |
---|
RemoteRefUpdate(RemoteRefUpdate base,
ObjectId newExpectedOldObjectId)
Create a new instance of this object basing on existing instance for
configuration.
|
Constructor and Description |
---|
PushProcess(Transport transport,
java.util.Collection<RemoteRefUpdate> toPush)
Create process for specified transport and refs updates specification.
|
PushProcess(Transport transport,
java.util.Collection<RemoteRefUpdate> toPush,
java.io.OutputStream out)
Create process for specified transport and refs updates specification.
|