Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
Modifier and Type | Method and Description |
---|---|
DiffCommand |
Git.diff()
Return a command object to execute a
diff command |
DiffCommand |
DiffCommand.setCached(boolean cached)
Whether to view the changes staged for the next commit
|
DiffCommand |
DiffCommand.setContextLines(int contextLines)
Set number of context lines instead of the usual three.
|
DiffCommand |
DiffCommand.setDestinationPrefix(String destinationPrefix)
Set the given destination prefix instead of "b/".
|
DiffCommand |
DiffCommand.setNewTree(AbstractTreeIterator newTree)
Set new tree
|
DiffCommand |
DiffCommand.setOldTree(AbstractTreeIterator oldTree)
Set old tree
|
DiffCommand |
DiffCommand.setOutputStream(OutputStream out)
Set output stream
|
DiffCommand |
DiffCommand.setPathFilter(TreeFilter pathFilter)
Set path filter
|
DiffCommand |
DiffCommand.setProgressMonitor(ProgressMonitor monitor)
The progress monitor associated with the diff operation.
|
DiffCommand |
DiffCommand.setShowNameAndStatusOnly(boolean showNameAndStatusOnly)
Set whether to return only names and status of changed files
|
DiffCommand |
DiffCommand.setSourcePrefix(String sourcePrefix)
Set the given source prefix instead of "a/".
|
Copyright © 2018 Eclipse JGit Project. All rights reserved.