public class GitStatusCommand extends AbstractStatusCommand implements GitCommand
Constructor and Description |
---|
GitStatusCommand() |
Modifier and Type | Method and Description |
---|---|
static Commandline |
createCommandLine(GitScmProviderRepository repository,
ScmFileSet fileSet) |
static Commandline |
createRevparseShowPrefix(ScmFileSet fileSet) |
protected StatusScmResult |
executeStatusCommand(ScmProviderRepository repo,
ScmFileSet fileSet) |
static URI |
getRelativeCWD(AbstractCommand caller,
ScmFileSet fileSet)
Get the dir relative to the repository root.
|
executeCommand
execute, getLogger, setLogger
public GitStatusCommand()
protected StatusScmResult executeStatusCommand(ScmProviderRepository repo, ScmFileSet fileSet) throws ScmException
executeStatusCommand
in class AbstractStatusCommand
ScmException
public static URI getRelativeCWD(AbstractCommand caller, ScmFileSet fileSet) throws ScmException
caller
- the caller command.fileSet
- in which subdir to execute.ScmException
- if execute() fails.public static Commandline createCommandLine(GitScmProviderRepository repository, ScmFileSet fileSet)
public static Commandline createRevparseShowPrefix(ScmFileSet fileSet)
Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.