read_packed_refs: pass strbuf to parse_ref_line
commit6a49870a7245934eac671e3dcd7186a90dac255d
authorJeff King <peff@peff.net>
Wed, 10 Dec 2014 10:40:19 +0000 (10 05:40 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Dec 2014 17:28:54 +0000 (10 09:28 -0800)
tree3ea9996e663c5b3d2317dfe8c157a2765a7428eb
parent10c497aa0cc7ccb5bd213f53fc0cd803bd73a508
read_packed_refs: pass strbuf to parse_ref_line

Now that we have a strbuf in read_packed_refs, we can pass
it straight to the line parser, which saves us an extra
strlen.

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