convert: move packet_write_line() into pkt-line as packet_writel()
commitc0c70f7ac080c3b4ecc50a3207eb66e97c10271d
authorBen Peart <peartben@gmail.com>
Fri, 5 May 2017 15:27:56 +0000 (5 11:27 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 May 2017 01:57:26 +0000 (8 10:57 +0900)
tree06cbefbbda060e2e20bfc92b9d22bac6b436b441
parent825b9226bf7a962bc76571319b1444bc02fdcdf8
convert: move packet_write_line() into pkt-line as packet_writel()

Add packet_writel() which writes multiple lines in a single call and
then calls packet_flush_gently(). Update convert.c to use the new
packet_writel() function from pkt-line.

Signed-off-by: Ben Peart <benpeart@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
convert.c
pkt-line.c
pkt-line.h