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(File workingDirectory,
ScmVersion startVersion,
ScmVersion endVersion,
boolean cached) |
static org.codehaus.plexus.util.cli.Commandline |
createDiffRawCommandLine(File workingDirectory,
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, setLoggerpublic GitDiffCommand()
protected DiffScmResult executeDiffCommand(ScmProviderRepository repo, ScmFileSet fileSet, ScmVersion startVersion, ScmVersion endVersion) throws ScmException
executeDiffCommand in class AbstractDiffCommandScmExceptionpublic static org.codehaus.plexus.util.cli.Commandline createCommandLine(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(File workingDirectory, String sha1)
workingDirectory - Copyright © 2003–2021 The Apache Software Foundation. All rights reserved.