class Fetch extends AbstractFetchCommand implements FetchCommand.Callback
TextBuiltin.TerminatedByHelpException| Modifier and Type | Field and Description |
|---|---|
private boolean |
dryRun |
private java.lang.Boolean |
fsck |
private java.lang.Boolean |
prune |
private java.lang.Boolean |
quiet |
private SubmoduleConfig.FetchRecurseSubmodulesMode |
recurseSubmodules |
private java.lang.String |
remote |
private java.lang.Boolean |
tags |
private java.lang.Boolean |
thin |
(package private) int |
timeout |
private java.util.List<RefSpec> |
toget |
| Constructor and Description |
|---|
Fetch() |
| Modifier and Type | Method and Description |
|---|---|
void |
fetchingSubmodule(java.lang.String name)
Notify fetching a submodule.
|
(package private) void |
nofsck(boolean ignored) |
(package private) void |
noRecurseSubmodules(boolean ignored) |
(package private) void |
notags(boolean ignored) |
(package private) void |
nothin(boolean ignored) |
(package private) void |
recurseSubmodules(java.lang.String mode) |
protected void |
run()
Perform the actions of this command.
|
showFetchResult, showRemoteMessagesabbreviateRef, containsHelp, die, die, die, die, execute, getErrorWriter, getOutputWriter, getRepository, getResourceBundle, init, initRaw, parseArguments, printUsage, printUsageAndExit, printUsageAndExit, requiresRepository, resolve, setCommandNameint timeout
private java.lang.Boolean fsck
private java.lang.Boolean prune
private boolean dryRun
private java.lang.Boolean thin
private java.lang.Boolean quiet
private java.lang.Boolean tags
private SubmoduleConfig.FetchRecurseSubmodulesMode recurseSubmodules
private java.lang.String remote
private java.util.List<RefSpec> toget
void nofsck(boolean ignored)
void nothin(boolean ignored)
void notags(boolean ignored)
void recurseSubmodules(java.lang.String mode)
void noRecurseSubmodules(boolean ignored)
protected void run()
throws java.lang.Exception
This method should only be invoked by TextBuiltin.execute(String[]).
run in class TextBuiltinjava.lang.Exception - an error occurred while processing the command. The main
framework will catch the exception and print a message on
standard error.public void fetchingSubmodule(java.lang.String name)
fetchingSubmodule in interface FetchCommand.Callbackname - the submodule name.