Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
Modifier and Type | Method | Description |
---|---|---|
DiffCommand |
Git.diff() |
Returns a command object to execute a
diff command |
DiffCommand |
DiffCommand.setCached(boolean cached) |
|
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) |
|
DiffCommand |
DiffCommand.setOldTree(AbstractTreeIterator oldTree) |
|
DiffCommand |
DiffCommand.setOutputStream(OutputStream out) |
|
DiffCommand |
DiffCommand.setPathFilter(TreeFilter pathFilter) |
|
DiffCommand |
DiffCommand.setProgressMonitor(ProgressMonitor monitor) |
The progress monitor associated with the diff operation.
|
DiffCommand |
DiffCommand.setShowNameAndStatusOnly(boolean showNameAndStatusOnly) |
|
DiffCommand |
DiffCommand.setSourcePrefix(String sourcePrefix) |
Set the given source prefix instead of "a/".
|
Copyright © 2018. All rights reserved.