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

RE : RE : trailling whitespace with git am ?

From
PFPICCA Frédéric-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr>
Date
Aug 14, 2009, 20:46 UTC
Message-ID
<606CC410B038E34CB97646A32D0EC0BF0181FABE@venusbis.synchrotron-soleil.fr>
In-Reply-To
<7vab22i1dl.fsf@alter.siamese.dyndns.org>
> how can I do the difference between a patch with normal CR+LF (the autor use this format)
> and a patch without CR+LF due to the webmail ?
> That is a question to your webmail provider but I think you generally
> can't.  Use dos2unix as Alex suggested and you should be fine.
git am --whitespace=fix was sufficient to apply the patch
Previous: Junio C Hamano
Message 5 of 5 in “trailling whitespace with git am ?”
  1. PICCA Frédéric-EmmanuelAug 14, 2009
  2. Alex RiesenAug 14, 2009
  3. RE : trailling whitespace with git am ?PICCA Frédéric-Emmanuel, Aug 14, 2009
  4. Junio C HamanoAug 14, 2009
  5. RE : 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.