From: Junio C Hamano Date: Fri, 14 Aug 2009 20:31:02 GMT Subject: Re: RE : trailling whitespace with git am ? Message-ID: <7vab22i1dl.fsf@alter.siamese.dyndns.org> In-Reply-To: <606CC410B038E34CB97646A32D0EC0BF0181FABD@venusbis.synchrotron-soleil.fr> PICCA Frédéric-Emmanuel writes: > 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.