- <init>
Create a new formatter with a default level of context.
- setRepository
Set the repository the formatter can load object contents from. Once a
repository has been set, the
- format
Format the differences between two trees. The patch is expressed as instructions
to modify a to make
- scan
Determine the differences between two trees. No output is created, instead only
the file paths that
- setDetectRenames
Enable or disable rename detection. Before enabling rename detection the
repository must be set with
- flush
Flush the underlying output stream of this formatter.
- setDiffComparator
Set the line equivalence function for text file differences.
- setContext
Change the number of lines of context to display.
- setPathFilter
Set the filter to produce only specific paths. If the filter is an instance of
FollowFilter, the fil
- close
Release the internal ObjectReader state.
- setNewPrefix
Set the prefix applied in front of new file paths.
- setOldPrefix
Set the prefix applied in front of old file paths.