From: PICCA Frédéric-Emmanuel Date: Fri, 14 Aug 2009 20:21:05 GMT Subject: RE : trailling whitespace with git am ? Message-ID: <606CC410B038E34CB97646A32D0EC0BF0181FABD@venusbis.synchrotron-soleil.fr> In-Reply-To: <81b0412b0908141310x7e4acf4fgf4ea71cf53de6eea@mail.gmail.com> > This patch has DOS line endings (like CR, followed by LF). > You can either use dos2unix (or your editor of choice), or update your git > to current master branch, where "git am" handles such patches transparently. I am using git 1.6.3.3 debian unstable is it ok ? In fact we saw that this problem was due to our webmail the patch was attached to a mail and using the webmail interface a save to disk transform the CR -> CR LF we tested it with gmail and the microsoft webmail now the problem is that a patch with CR+ LF do not have the same signature that a patch with only CR. 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 ? See you Frederic