Re: am fails to apply patches for files with CRLF lineendings

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Brandon Casey
Date: Monday, December 14, 2009 - 8:59 pm

On Mon, Dec 14, 2009 at 8:12 PM, Junio C Hamano <gitster@pobox.com> wrote:

Yes, that is what I was talking about, but I did not know whether the
individual mails which are separated by "From user@host ..." were
supposed to be in RFC-2822 format or not.


How do you insert CR at the end of the line?  Can you use mutt or
something like it to send a mail which contains a CR?  I have tried,
and I have not been able to do so.  I have tried mutt, mailx, and
sendmail.  For sendmail, I of course constructed the email headers by
hand and piped it through sendmail.  The CRLF in my tests were
converted to LF by the time they reached /var/mail/casey.


I'm not sure it is a bug, just a change in behavior.


I agree.


Yes, I think it will work as a work-around, unfortunately I cannot
work on implementing this at the moment.  I think the better solution,
if it is not too costly, is to detect the presence of CR and produce a
binary patch that can be sent through email and applied by git-am.

-brandon
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
am fails to apply patches for files with CRLF lineendings, =?iso-8859-1?Q?Bj=F6 ..., (Mon Dec 14, 11:33 am)
Re: am fails to apply patches for files with CRLF lineendings, =?iso-8859-1?Q?Bj=F6 ..., (Mon Dec 14, 1:55 pm)
Re: am fails to apply patches for files with CRLF lineendings, =?iso-8859-1?Q?Bj=F6 ..., (Mon Dec 14, 6:25 pm)
Re: am fails to apply patches for files with CRLF lineendings, Brandon Casey, (Mon Dec 14, 8:59 pm)
Re: am fails to apply patches for files with CRLF lineendings, Sverre Rabbelier, (Mon Dec 14, 11:33 pm)