Merge pull request #4261 from RogerGee/fix_wait_while_ack

smart_protocol: fix parsing of server ACK responses
This commit is contained in:
Edward Thomson 2017-06-12 16:01:22 +01:00 committed by GitHub
commit 9927e9587a

View File

@ -325,7 +325,8 @@ static int wait_while_ack(gitno_buffer *buf)
if (pkt->type == GIT_PKT_ACK &&
(pkt->status != GIT_ACK_CONTINUE &&
pkt->status != GIT_ACK_COMMON)) {
pkt->status != GIT_ACK_COMMON &&
pkt->status != GIT_ACK_READY)) {
git__free(pkt);
return 0;
}