diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriter.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriter.java index 2e6812c1c..54a5826c0 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriter.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriter.java @@ -1996,7 +1996,7 @@ public class PackWriter { otp.clearReuseAsIs(); } - otp.setDeltaAttempted(next.wasDeltaAttempted()); + otp.setDeltaAttempted(reuseDeltas & next.wasDeltaAttempted()); otp.select(next); }