# Re: RE : RE : trailling whitespace with git am ?

2 messages from 2009-08-14 to 2009-08-14. Participants: Alex Riesen, PICCA Frédéric-Emmanuel.
Thread: https://gitlist.dev/t/20598

## Alex Riesen, 2009-08-14 20:48

Subject: Re: RE : RE : trailling whitespace with git am ?
Message-ID: <81b0412b0908141348icee65d6kf4188cbd68405c0c@mail.gmail.com>
URL: https://gitlist.dev/e/81b0412b0908141348icee65d6kf4188cbd68405c0c%40mail.gmail.com

```
On Fri, Aug 14, 2009 at 22:46, PICCA
Frédéric-Emmanuel<frederic-emmanuel.picca@synchrotron-soleil.fr>
wrote:
>> 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
>

Depending on your situation it can be an overkill: it'll remove _all_ trailing
white space. Not just \r (CR).

```

## PICCA Frédéric-Emmanuel, 2009-08-14 20:50

Subject: RE : RE : RE : trailling whitespace with git am ?
Message-ID: <606CC410B038E34CB97646A32D0EC0BF0181FAC1@venusbis.synchrotron-soleil.fr>
URL: https://gitlist.dev/e/606CC410B038E34CB97646A32D0EC0BF0181FAC1%40venusbis.synchrotron-soleil.fr
In-Reply-To: <81b0412b0908141348icee65d6kf4188cbd68405c0c@mail.gmail.com>

```
> > git am --whitespace=fix was sufficient to apply the patch

> Depending on your situation it can be an overkill: it'll remove _all_ trailing
> white space. Not just \r (CR).

so /s /t and /r are the same things for git ?

```
