Skip to content

Commit a73b7c2

Browse files
committed
This error case is now unneeded
1 parent b840855 commit a73b7c2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/transports/smart_protocol.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,6 @@ int git_smart__store_refs(transport_smart *t, int flushes)
7070
return -1;
7171
}
7272

73-
if (pkt->type == GIT_PKT_PACK) {
74-
giterr_set(GITERR_NET, "unexpected packfile");
75-
git__free(pkt);
76-
return -1;
77-
}
78-
7973
if (pkt->type != GIT_PKT_FLUSH && git_vector_insert(refs, pkt) < 0)
8074
return -1;
8175

0 commit comments

Comments
 (0)