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

Re: [PULL] Documentation for 5.5

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Dec 1, 2019, 00:40 UTC
Message-ID
<CAHk-=wjrRu1BB+GRXn+k2oEWZHm03p19MnQqbSfgn=mMiWnCkQ@mail.gmail.com>
In-Reply-To
<20191130171428.6c09f892@lwn.net>

[ Background for Junio and the git mailing list - Jon's pull request to me had a lot of whitespace damage from CRLF line endings for some of the patches he applied. ]

On Sat, Nov 30, 2019 at 4:14 PM Jonathan Corbet <corbet@lwn.net> wrote:
Show 11 quoted lines
>
> So my tooling is "git am", nothing special.
>
> All of the afflicted files arrived in that state as the result of a pair
> of patches from Jonathan (copied); I have verified that the original
> patches also had the DOS line endings.
>
> The problem repeats if I apply those patches now, even if I add an
> explicit "--no-keep-cr" to the "git am" command line.  It seems like maybe
> my version of git is somehow broken?  I have git-2.21.0-1.fc30.x86_64,
> FWIW.

Hmm. I wonder if the CRLF removal is broken in general, or if the emails are somehow unusual (patches in attachments or MIME-encoded or something)? Maybe the CRLF was removed from the envelope email lines, but if the patch is then decoded from an attachment or something it's not removed again from there?

Can you attach (not forward) one of the (raw) emails that shows the problem and keep the git mailing list cc'd?

             Linus
Message 1 of 1 in “Re: [PULL] Documentation for 5.5”
  1. Linus TorvaldsDec 1, 2019

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.