Commit Diff


commit - 23022bc04f3cdc9d7ed1ecdc30599b7e1515814d
commit + ae3347f19632d3587629f83dae923495c8903a5c
blob - 3a8ecdee63ef62b527396f4871529a4bfd568b5f
blob + a76d4ffce3d5b5ebcf828a8dc15495bedb7d3b44
--- libexec/got-fetch-pack/got-fetch-pack.c
+++ libexec/got-fetch-pack/got-fetch-pack.c
@@ -608,10 +608,6 @@ fetch_pack(int fd, int packfd, uint8_t *pack_sha1,
 			 * Perhaps it is an out-of-date mirror, or there
 			 * is a repository with unrelated history.
 			 */
-			break;
-		}
-		if (n > 1 && buf[0] == 0x2) {
-			/* XXX: sideband? */
 			break;
 		}
 		if (n < 4 + SHA1_DIGEST_STRING_LENGTH ||