public class GitCheckOutCommand extends AbstractCheckOutCommand implements GitCommand
logger| Constructor and Description |
|---|
GitCheckOutCommand(Map<String,String> environmentVariables) |
| Modifier and Type | Method and Description |
|---|---|
static org.codehaus.plexus.util.cli.Commandline |
createCommandLine(GitScmProviderRepository repository,
File workingDirectory,
ScmVersion version) |
protected CheckOutScmResult |
executeCheckOutCommand(ScmProviderRepository repo,
ScmFileSet fileSet,
ScmVersion version,
boolean recursive,
boolean shallow)
The overriden
executeCommand(ScmProviderRepository, ScmFileSet, CommandParameters) in this class will
not call this method! |
ScmResult |
executeCommand(ScmProviderRepository repo,
ScmFileSet fileSet,
CommandParameters parameters)
For git, the given repository is a remote one.
|
executeCheckOutCommandexecutepublic ScmResult executeCommand(ScmProviderRepository repo, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
TODO We currently assume a '.git' directory, so this does not work for --bare repos
executeCommand in class AbstractCheckOutCommandScmExceptionpublic static org.codehaus.plexus.util.cli.Commandline createCommandLine(GitScmProviderRepository repository, File workingDirectory, ScmVersion version)
protected CheckOutScmResult executeCheckOutCommand(ScmProviderRepository repo, ScmFileSet fileSet, ScmVersion version, boolean recursive, boolean shallow) throws ScmException
executeCommand(ScmProviderRepository, ScmFileSet, CommandParameters) in this class will
not call this method!
executeCheckOutCommand in class AbstractCheckOutCommandScmExceptionCopyright © 2003–2024 The Apache Software Foundation. All rights reserved.