summaryrefslogtreecommitdiff
path: root/src/transports/smart_protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transports/smart_protocol.c')
-rw-r--r--src/transports/smart_protocol.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/transports/smart_protocol.c b/src/transports/smart_protocol.c
index 948b93bdd..943ee758f 100644
--- a/src/transports/smart_protocol.c
+++ b/src/transports/smart_protocol.c
@@ -70,12 +70,6 @@ int git_smart__store_refs(transport_smart *t, int flushes)
return -1;
}
- if (pkt->type == GIT_PKT_PACK) {
- giterr_set(GITERR_NET, "unexpected packfile");
- git__free(pkt);
- return -1;
- }
-
if (pkt->type != GIT_PKT_FLUSH && git_vector_insert(refs, pkt) < 0)
return -1;