column: read lines with strbuf_getline()
commit1536dd9c1df0b7167b139f6666080cc4774ef63f
authorJunio C Hamano <gitster@pobox.com>
Wed, 28 Oct 2015 20:52:11 +0000 (28 13:52 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 15 Jan 2016 18:35:07 +0000 (15 10:35 -0800)
treeaae207d7fb80f2f95c0159c72309971caac9cbc5
parentb42ca3dd0f157d0c23c9a034bc68257e1748238a
column: read lines with strbuf_getline()

Multiple lines read here are concatenated on a single line to form a
multi-column output line.  We do not want to have a CR at the end,
even if the input file consists of CRLF terminated lines.

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