Glenn Matthys
2016-01-17 7e5107ef3e2bb0d7c31d3050fb8ba6cc1601ef1a
src/main/java/com/gitblit/utils/PatchFormatter.java
@@ -32,9 +32,9 @@
/**
 * A diff formatter that outputs standard patch content.
 *
 *
 * @author James Moger
 *
 *
 */
public class PatchFormatter extends DiffFormatter {
@@ -49,6 +49,7 @@
      this.os = os;
   }
   @Override
   public void format(DiffEntry entry) throws IOException {
      currentTouple = new PatchTouple();
      changes.put(entry.getNewPath(), currentTouple);