author | Junio C Hamano <gitster@pobox.com> | |
Fri, 16 Dec 2011 22:39:37 +0000 (14:39 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 16 Dec 2011 22:39:37 +0000 (14:39 -0800) | ||
commit | 87afe9a5ed759668e35513c44eacd2fd393ba658 | |
tree | 3f4afa5b8c9a896cee7795a3dcc1de8c0037b13d | tree | snapshot |
parent | 284e3d280ea84957f5bedcb302848dbdcdbb9a62 | commit | diff |
lf_to_crlf_filter(): tell the caller we added "\n" when draining
This can only happen when the input size is multiple of the
buffer size of the cascade filter (16k) and ends with an LF,
but in such a case, the code forgot to tell the caller that
it added the "\n" it could not add during the last round.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This can only happen when the input size is multiple of the
buffer size of the cascade filter (16k) and ends with an LF,
but in such a case, the code forgot to tell the caller that
it added the "\n" it could not add during the last round.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
convert.c | diff | blob | history |