Stardrad Yin
2014-06-10 e29b6e3f7f3831c6063ca67082964b7c50b7ab50
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);