Re: Line endings now altered when saving kernel patches via gmail

From: Clemens Ladisch
Date: Thu May 03 2012 - 06:41:14 EST


Steve French wrote:
> I noticed sometime in the last month that one of the normal patch
> processes (open up gmail, find the email that contains the patch, then
> "show original" then "save as ...") doesn't work anymore. Gmail
> appears to now corrupt patches by inserting DOS line endings (at
> least) even when "show original" - any idea how to turn this off.

SMTP mails always use CR/LF line endings in the body. If the older
gmail did not show them in the source view, this was a bug, which
has now been fixed.

Tools like "git am" automatically convert line endings from mail
to Unix. If your tools don't handle this, you'll have to convert
the files manually after saving them.


Regards,
Clemens
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/