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

RE : trailling whitespace with git am ?

From
PFPICCA Frédéric-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
Date
Aug 14, 2009, 21:50 UTC
Message-ID
<606CC410B038E34CB97646A32D0EC0BF0181FAC3@venusbis.synchrotron-soleil.fr>
In-Reply-To
<81b0412b0908141443vc54c009o9ec39b3f617311dd@mail.gmail.com>
> > so /s /t and /r are the same things for git ?
> almost. For git-apply's whitespace fixing code. Why?

Because for the user the message trailling whitespace was not clear In fact the problem was a dos/unix format not a trailling space.

but whitespace=fix solve this problem. I was surprise first because I was looking for remaining space at the end of lines of the patch not this CR+LF things.

Maybe git apply should warn the user a different way if their is that sort of dos/unix imcompatibilities.
thanks
Frederic
Previous: Alex Riesen
Message 2 of 2 in “Re: trailling whitespace with git am ?”
  1. Alex RiesenAug 14, 2009
  2. RE : trailling whitespace with git am ?PICCA Frédéric-Emmanuel, Aug 14, 2009

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.