author | Brandon Casey <drafnel@gmail.com> | |
Wed, 5 Aug 2009 03:31:56 +0000 (22:31 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 5 Aug 2009 19:13:56 +0000 (12:13 -0700) | ||
commit | c7e4f0d78aaac33d5e3cec54cddd40439e77d16c | |
tree | 858630ef7be2bc8eb26148914c906f5f974df94b | tree | snapshot |
parent | 07a4a3b4962e1fd4e40fd877427cddd7428c1bc3 | commit | diff |
strbuf: add new function strbuf_getwholeline()
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>
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>
strbuf.c | diff | blob | history | |
strbuf.h | diff | blob | history |