receive-pack: factor out queueing of command
commit6644dc1ac567a5ddb0d3f591cc9b57ea5eac1de2
authorJunio C Hamano <gitster@pobox.com>
Fri, 15 Aug 2014 21:28:28 +0000 (15 14:28 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 22 Aug 2014 22:35:59 +0000 (22 15:35 -0700)
treeb09f4a71f967e6a8715b743280bfd4f30e9b2e28
parente408d3cbedb0e754f01c7c5242b665bc2a12867b
receive-pack: factor out queueing of command

Make a helper function to accept a line of a protocol message and
queue an update command out of the code from read_head_info().

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/receive-pack.c