Uses of Class
org.eclipse.jgit.api.DiffCommand
Packages that use DiffCommand
-
Uses of DiffCommand in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api that return DiffCommandModifier and TypeMethodDescriptionGit.diff()
Return a command object to execute adiff
commandDiffCommand.setCached
(boolean cached) Whether to view the changes staged for the next commitDiffCommand.setContextLines
(int contextLines) Set number of context lines instead of the usual three.DiffCommand.setDestinationPrefix
(String destinationPrefix) Set the given destination prefix instead of "b/".DiffCommand.setNewTree
(AbstractTreeIterator newTree) Set new treeDiffCommand.setOldTree
(AbstractTreeIterator oldTree) Set old treeDiffCommand.setOutputStream
(OutputStream out) Set output streamDiffCommand.setPathFilter
(TreeFilter pathFilter) Set path filterDiffCommand.setProgressMonitor
(ProgressMonitor monitor) The progress monitor associated with the diff operation.DiffCommand.setShowNameAndStatusOnly
(boolean showNameAndStatusOnly) Set whether to return only names and status of changed filesDiffCommand.setSourcePrefix
(String sourcePrefix) Set the given source prefix instead of "a/".