summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.iplog
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jgit.iplog')
-rw-r--r--org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/IpLogGenerator.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/IpLogGenerator.java b/org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/IpLogGenerator.java
index 5013eb6b8a..66345bb7dc 100644
--- a/org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/IpLogGenerator.java
+++ b/org.eclipse.jgit.iplog/src/org/eclipse/jgit/iplog/IpLogGenerator.java
@@ -384,9 +384,9 @@ public class IpLogGenerator {
else
oldImage = new byte[0];
- EditList edits = new MyersDiff<RawText>(
+ EditList edits = MyersDiff.INSTANCE.diff(
RawTextComparator.DEFAULT, new RawText(oldImage),
- new RawText(openBlob(1))).getEdits();
+ new RawText(openBlob(1)));
for (Edit e : edits)
addedLines += e.getEndB() - e.getBeginB();
}