[PATCH 0/4] Re: Please make git-am handle \r\n-damaged patches
- From
Brandon Casey <casey@nrlssc.navy.mil>
- Date
- Aug 5, 2009, 03:31 UTC
- Message-ID
- <r3l_p2g-BpVHWKE-kMWIRzBGUCnzo9_l7hOHzYLG_4X6oEjXrJ4rJdB10yXPT2jmJJ7ppBmr-x8@cipher.nrlssc.navy.mil>
- In-Reply-To
- <7vmy6fdxst.fsf@alter.siamese.dyndns.org>
From: Brandon Casey <drafnel@gmail.com>
Convert mailinfo and mailsplit to use strbufs before attempting to address the CRLF issue for saved emails.
Brandon Casey (3):
strbuf: add new function strbuf_getwholeline()
builtin-mailinfo,builtin-mailsplit: use strbufs
builtin-mailsplit.c: remove read_line_with_nul() since it is no
longer usedJunio C Hamano (1): Allow mailsplit to handle mails with CRLF line-endings
builtin-mailinfo.c | 8 +------- builtin-mailsplit.c | 44 ++++++++++++++------------------------------ builtin.h | 1 - git-am.sh | 8 +++++++- strbuf.c | 15 ++++++++++++--- strbuf.h | 1 + t/t3400-rebase.sh | 26 ++++++++++++++++++++++++-- 7 files changed, 59 insertions(+), 44 deletions(-)