diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackWriter.java b/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackWriter.java index fe1ab4fdb..46c412b94 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackWriter.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackWriter.java @@ -978,8 +978,10 @@ public class PackWriter { out.endObject(); otp.setCRC(out.getCRC32()); stats.reusedObjects++; - if (otp.isDeltaRepresentation()) + if (otp.isDeltaRepresentation()) { + stats.totalDeltas++; stats.reusedDeltas++; + } return; } catch (StoredObjectRepresentationNotAvailableException gone) { if (otp.getOffset() == out.length()) {