Package org.eclipse.jgit.pgm
Class Push
java.lang.Object
org.eclipse.jgit.pgm.TextBuiltin
org.eclipse.jgit.pgm.Push
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jgit.pgm.TextBuiltin
TextBuiltin.TerminatedByHelpException
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(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, String summary, String srcRef, String destRef, String message) protected void
run()
Perform the actions of this command.private static String
safeAbbreviate
(ObjectReader reader, ObjectId id) Methods inherited from class org.eclipse.jgit.pgm.TextBuiltin
abbreviateRef, containsHelp, die, die, die, die, execute, getErrorWriter, getOutputWriter, getRepository, getResourceBundle, init, initRaw, parseArguments, printUsage, printUsageAndExit, printUsageAndExit, requiresRepository, resolve, setCommandName
-
Field Details
-
timeout
int timeout -
remote
-
refSpecs
-
all
private boolean all -
atomic
private boolean atomic -
tags
private boolean tags -
verbose
private boolean verbose -
thin
private boolean thin -
force
private boolean force -
receivePack
-
dryRun
private boolean dryRun -
pushOptions
-
shownURI
private boolean shownURI
-
-
Constructor Details
-
Push
Push()
-
-
Method Details
-
nothin
void nothin(boolean ignored) -
run
protected void run()Perform the actions of this command.This method should only be invoked by
TextBuiltin.execute(String[])
.- Specified by:
run
in classTextBuiltin
-
printPushResult
- Throws:
IOException
-
printRefUpdateResult
private void printRefUpdateResult(ObjectReader reader, URIish uri, PushResult result, RemoteRefUpdate rru) throws IOException - Throws:
IOException
-
safeAbbreviate
-
printUpdateLine
private void printUpdateLine(char flag, String summary, String srcRef, String destRef, String message) throws IOException - Throws:
IOException
-