receive-pack: factor out queueing of command
commit39895c74d809962bf76a6d720618df30f4bac8b1
authorJunio C Hamano <gitster@pobox.com>
Fri, 15 Aug 2014 21:28:28 +0000 (15 14:28 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Sep 2014 20:23:18 +0000 (15 13:23 -0700)
tree90023f341ef2c7d44c84607b17e473d2235024e0
parentc09b71ccc45f4be3acca5e809a18a000cae09faf
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