class Push extends TextBuiltin
TextBuiltin.TerminatedByHelpException
Modifier and Type | Field and Description |
---|---|
private boolean |
all |
private boolean |
atomic |
private boolean |
dryRun |
private boolean |
force |
private java.util.List<java.lang.String> |
pushOptions |
private java.lang.String |
receivePack |
private java.util.List<RefSpec> |
refSpecs |
private java.lang.String |
remote |
private boolean |
shownURI |
private boolean |
tags |
private boolean |
thin |
(package private) int |
timeout |
private boolean |
verbose |
Constructor and Description |
---|
Push() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
nothin(boolean ignored) |
private void |
printPushResult(ObjectReader reader,
URIish uri,
PushResult result) |
private void |
printRefUpdateResult(ObjectReader reader,
URIish uri,
PushResult result,
RemoteRefUpdate rru) |
private void |
printUpdateLine(char flag,
java.lang.String summary,
java.lang.String srcRef,
java.lang.String destRef,
java.lang.String message) |
protected void |
run()
Perform the actions of this command.
|
private static java.lang.String |
safeAbbreviate(ObjectReader reader,
ObjectId id) |
abbreviateRef, containsHelp, die, die, die, die, execute, getErrorWriter, getOutputWriter, getRepository, getResourceBundle, init, initRaw, parseArguments, printUsage, printUsageAndExit, printUsageAndExit, requiresRepository, resolve, setCommandName
int timeout
private java.lang.String remote
private java.util.List<RefSpec> refSpecs
private boolean all
private boolean atomic
private boolean tags
private boolean verbose
private boolean thin
private boolean force
private java.lang.String receivePack
private boolean dryRun
private java.util.List<java.lang.String> pushOptions
private boolean shownURI
void nothin(boolean ignored)
protected void run()
This method should only be invoked by TextBuiltin.execute(String[])
.
run
in class TextBuiltin
private void printPushResult(ObjectReader reader, URIish uri, PushResult result) throws java.io.IOException
java.io.IOException
private void printRefUpdateResult(ObjectReader reader, URIish uri, PushResult result, RemoteRefUpdate rru) throws java.io.IOException
java.io.IOException
private static java.lang.String safeAbbreviate(ObjectReader reader, ObjectId id)
private void printUpdateLine(char flag, java.lang.String summary, java.lang.String srcRef, java.lang.String destRef, java.lang.String message) throws java.io.IOException
java.io.IOException