public class GitDiffCommand extends AbstractDiffCommand implements GitCommand
| Constructor and Description | 
|---|
GitDiffCommand()  | 
| Modifier and Type | Method and Description | 
|---|---|
static Commandline | 
createCommandLine(File workingDirectory,
                                  ScmVersion startVersion,
                                  ScmVersion endVersion,
                                  boolean cached)  | 
static 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 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 Commandline createDiffRawCommandLine(File workingDirectory, String sha1)
workingDirectory - Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.