strbuf: add new function strbuf_getwholeline()
authorBrandon Casey <drafnel@gmail.com>
Wed, 5 Aug 2009 03:31:56 +0000 (22:31 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Aug 2009 19:13:56 +0000 (12:13 -0700)
This function is just like strbuf_getline() except it retains the
line-termination character. This function will be used by the mailinfo
and mailsplit builtins which require the entire line for parsing.

Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found