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