git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git imap-send converting my patches to CRLF line endings?

From
Michael Mc Donnell <michael@mcdonnell.dk>
Date
Jun 17, 2011, 13:35 UTC
Message-ID
<BANLkTimXQQX_Fu0fgtWneF2cCLUZFhTaCg@mail.gmail.com>
Hi

I'm using git imap-send to send patches to wine-patches, and it seems like it converts all my patches to have CRLF line endings?

I can see it when I download the patch from the Gmail drafts folder. Git complains about white space when I apply the downloaded patch. It works fine if I just use git to create the patch and then apply it on a new branch. Is it git imap-send or just Gmail that's the problem?

Is there any way to disable the conversion?
I'm using git 1.7.5.4

Thanks, Michael Mc Donnell

Next: Jeff King
Message 1 of 10 in “git imap-send converting my patches to CRLF line endings?”
  1. Michael Mc DonnellJun 17, 2011
  2. Jeff KingJun 17, 2011
  3. Michael Mc DonnellJun 17, 2011
  4. Brandon CaseyJun 17, 2011
  5. Brandon CaseyJun 17, 2011
  6. Jeff KingJun 17, 2011
  7. Brandon CaseyJun 17, 2011
  8. Michael Mc DonnellJun 20, 2011
  9. Brandon CaseyJun 17, 2011
  10. Jeff KingJun 17, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.