]> git.ipfire.org Git - thirdparty/git.git/commit - send-pack.c
send-pack: use skip_prefix for parsing unpack status
authorJeff King <peff@peff.net>
Tue, 7 Mar 2017 13:36:19 +0000 (08:36 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Mar 2017 22:54:14 +0000 (14:54 -0800)
commitf7cd74d19d3e2a194760024046534adf20f9efde
tree4c3c60da5cb67dcd3ada8cb3b0957969a9b88c45
parent7c39df2979733e0041db7aff09c3f3a53b980ef2
send-pack: use skip_prefix for parsing unpack status

This avoids repeating ourselves, and the use of magic
numbers.

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