- call
Executes the Diff command with all the options and parameters collected by the
setter methods (e.g.
- setNewTree
Set new tree
- setOldTree
Set old tree
- setShowNameAndStatusOnly
Set whether to return only names and status of changed files
- setPathFilter
Set path filter
- setOutputStream
Set output stream
- <init>
Constructor for DiffCommand
- setCached
Whether to view the changes staged for the next commit
- setDestinationPrefix
Set the given destination prefix instead of "b/".
- setSourcePrefix
Set the given source prefix instead of "a/".
- setContextLines
Set number of context lines instead of the usual three.