cat-file: read batch stream with strbuf_getline()
commitb42ca3dd0f157d0c23c9a034bc68257e1748238a
authorJunio C Hamano <gitster@pobox.com>
Wed, 28 Oct 2015 20:38:56 +0000 (28 13:38 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 15 Jan 2016 18:35:06 +0000 (15 10:35 -0800)
treef2f17a0e80dcade1ad582acd77dad179c2fb5b39
parent692dfdfa622c6286999609a4fef59724124ca794
cat-file: read batch stream with strbuf_getline()

It is possible to prepare a text file with a DOS editor and feed it
as a batch command stream to the command.

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