public class GitDiffCommand extends AbstractDiffCommand implements GitCommand
| Constructor and Description |
|---|
GitDiffCommand() |
| Modifier and Type | Method and Description |
|---|---|
static org.codehaus.plexus.util.cli.Commandline |
createCommandLine(java.io.File workingDirectory,
ScmVersion startVersion,
ScmVersion endVersion,
boolean cached) |
static org.codehaus.plexus.util.cli.Commandline |
createDiffRawCommandLine(java.io.File workingDirectory,
java.lang.String sha1)
Create a CommandLine for executing a git diff --raw command.
|
protected DiffScmResult |
executeDiffCommand(ScmProviderRepository repo,
ScmFileSet fileSet,
ScmVersion startVersion,
ScmVersion endVersion) |
executeCommandexecute, getLogger, setLoggerprotected DiffScmResult executeDiffCommand(ScmProviderRepository repo, ScmFileSet fileSet, ScmVersion startVersion, ScmVersion endVersion) throws ScmException
executeDiffCommand in class AbstractDiffCommandScmExceptionpublic static org.codehaus.plexus.util.cli.Commandline createCommandLine(java.io.File workingDirectory,
ScmVersion startVersion,
ScmVersion endVersion,
boolean cached)
cached - if true diff the index to the head, else diff the tree to the indexpublic static org.codehaus.plexus.util.cli.Commandline createDiffRawCommandLine(java.io.File workingDirectory,
java.lang.String sha1)
workingDirectory -