Transport#push(ProgressMonitor, Collection, OutputStream)
| Modifier and Type | Field and Description |
|---|---|
| private PushConnection | connection
Push operation connection created to perform this operation |
| private final OutputStream | out
an outputstream to write messages to |
| private final PrePushHook | |
| pack-priv static final String | PROGRESS_OPENING_CONNECTION
Task name for |
| private List | pushOptions
A list of option strings associated with this push |
| private final Map | toPush
Refs to update on remote side. |
| private final Transport | transport
Transport used to perform this operation. |
| private final RevWalk | walker
Revision walker for checking some updates properties. |
| Access | Constructor and Description |
|---|---|
| pack-priv | PushProcess(Transport
transport between remote and local repository, used to create
connection. transport, Collection<RemoteRefUpdate> specification of refs updates (and local tracking branches). toPush, PrePushHook PrePushHook to run after the remote advertisement has
been gottenCreate process for specified transport and refs updates specification. |
| pack-priv | PushProcess(Transport
transport between remote and local repository, used to create
connection. transport, Collection<RemoteRefUpdate> specification of refs updates (and local tracking branches). toPush, PrePushHook PrePushHook to run after the remote advertisement has
been gottenOutputStream to write messages to out)Create process for specified transport and refs updates specification. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv PushResult | Returns: result of push operation with complete status description.progress monitor used for feedback about operation. monitor)Perform push operation between local and remote repository - set remote refs appropriately, send needed objects and update local tracking refs. |
| private Map | Returns: a new map ofRemoteRefUpdates keyed by remote nameExpands all placeholder |
| private void | expandMatching(Map<String, RemoteRefUpdate>
map to put the expansion in updates, RemoteRefUpdate the placeholder match)RemoteRefUpdate to expandExpands the placeholder |
| public List | |
| private boolean | Returns: true if the update fast-forwards, false otherwiseObjectId of the old commitObjectId of the new commitDetermines whether an update from
|
| private void | |
| private Map | |
| private Map | |
| private void |
| connection | back to summary |
|---|---|
| private PushConnection connection Push operation connection created to perform this operation | |
| out | back to summary |
|---|---|
| private final OutputStream out an outputstream to write messages to | |
| prePush | back to summary |
|---|---|
| private final PrePushHook prePush | |
| PROGRESS_OPENING_CONNECTION | back to summary |
|---|---|
| pack-priv static final String PROGRESS_OPENING_CONNECTION Task name for | |
| pushOptions | back to summary |
|---|---|
| private List<String> pushOptions A list of option strings associated with this push | |
| toPush | back to summary |
|---|---|
| private final Map<String, RemoteRefUpdate> toPush Refs to update on remote side. | |
| transport | back to summary |
|---|---|
| private final Transport transport Transport used to perform this operation. | |
| walker | back to summary |
|---|---|
| private final RevWalk walker Revision walker for checking some updates properties. | |
| PushProcess | back to summary |
|---|---|
| pack-priv PushProcess(Transport transport, Collection<RemoteRefUpdate> toPush, PrePushHook prePush) throws TransportException Create process for specified transport and refs updates specification.
| |
| PushProcess | back to summary |
|---|---|
| pack-priv PushProcess(Transport transport, Collection<RemoteRefUpdate> toPush, PrePushHook prePush, OutputStream out) throws TransportException Create process for specified transport and refs updates specification.
| |
| execute | back to summary |
|---|---|
| pack-priv PushResult execute(ProgressMonitor monitor) throws NotSupportedException, TransportException Perform push operation between local and remote repository - set remote refs appropriately, send needed objects and update local tracking refs.
When
| |
| expandMatching | back to summary |
|---|---|
| private Map Expands all placeholder
| |
| expandMatching | back to summary |
|---|---|
| private void expandMatching(Map<String, RemoteRefUpdate> updates, RemoteRefUpdate match) throws TransportException Expands the placeholder
| |
| getPushOptions | back to summary |
|---|---|
| public List Gets the list of option strings associated with this push. | |
| isFastForward | back to summary |
|---|---|
| private boolean isFastForward(ObjectId oldOid, ObjectId newOid) throws TransportException Determines whether an update from
| |
| modifyUpdatesForDryRun | back to summary |
|---|---|
| private void modifyUpdatesForDryRun() | |
| prepareRemoteUpdates | back to summary |
|---|---|
| private Map | |
| rejectAll | back to summary |
|---|---|
| private Map | |
| updateTrackingRefs | back to summary |
|---|---|
| private void updateTrackingRefs() | |