diff options
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/DeltaEncoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/DeltaEncoder.java b/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/DeltaEncoder.java index 7d4f62fc1b..7bf0bace74 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/DeltaEncoder.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/DeltaEncoder.java @@ -81,7 +81,7 @@ public class DeltaEncoder { private void writeVarint(long sz) throws IOException { int p = 0; - while (sz > 0x80) { + while (sz >= 0x80) { buf[p++] = (byte) (0x80 | (((int) sz) & 0x7f)); sz >>>= 7; } |