Change-Id: I5e80b3befca5cf1dcb06075862d6d48e6491cc0ftags/v3.1.0.201309270735-rc1
@@ -819,10 +819,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; |