diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java index 52d7c3753..175ddbcba 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java @@ -415,6 +415,8 @@ public class UploadPack { } private boolean negotiate() throws IOException { + okToGiveUp = Boolean.FALSE; + ObjectId last = ObjectId.zeroId(); List peerHas = new ArrayList(64); for (;;) {