Change-Id: I5e80b3befca5cf1dcb06075862d6d48e6491cc0ftags/v3.0.2.201309041250-rc2
@@ -786,10 +786,10 @@ public class UploadPack { | |||
private ObjectId processHaveLines(List<ObjectId> peerHas, ObjectId last) | |||
throws IOException { | |||
preUploadHook.onBeginNegotiateRound(this, wantIds, peerHas.size()); | |||
if (peerHas.isEmpty()) | |||
return last; | |||
if (wantAll.isEmpty() && !wantIds.isEmpty()) | |||
parseWants(); | |||
if (peerHas.isEmpty()) | |||
return last; | |||
sentReady = false; | |||
int haveCnt = 0; |