send-pack: extract parsing of "unpack" response
commit7c39df2979733e0041db7aff09c3f3a53b980ef2
authorJeff King <peff@peff.net>
Tue, 7 Mar 2017 13:35:57 +0000 (7 08:35 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Mar 2017 22:51:20 +0000 (7 14:51 -0800)
tree696ab868e976bfa3c8831005cd896b9922ee27d5
parent6cdad1f133475f2bff0dfe2fbe90c351df3ea61d
send-pack: extract parsing of "unpack" response

After sending the pack, we call receive_status() which gets
both the "unpack" line and the ref status. Let's break these
into two functions so we can call the first part
independently.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
send-pack.c