Commit Diff


commit - c1003102a22a77d068a14f9ffa7877f67c28e95d
commit + 2a83473170f99c9eb12c94532d036d8e02fbfd9e
blob - 82c0d5498f495010e9f6de2a44507c37e7dab81a
blob + 4e20977276b1e47ce59ae8184bdc6c63ad1cab08
--- libexec/got-fetch-pack/got-fetch-pack.c
+++ libexec/got-fetch-pack/got-fetch-pack.c
@@ -609,10 +609,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 ||