This class does a lot more than just reflow a patch script, it now is
the primary means of creating a diff output.
Change-Id: I74467c9a53dc270ef8c84e7c75f388414ec8ba8f
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
import org.eclipse.jgit.util.io.DisabledOutputStream;
/**
- * Format an {@link EditList} as a Git style unified patch script.
+ * Format a Git style patch script.
*/
public class DiffFormatter {
private static final byte[] noNewLine = encodeASCII("\\ No newline at end of file\n");