On Friday 2007 May 18, Raimund Bauer wrote: > you need to set core.autoCrlf=input > > I had the same problem some time ago ... The documentation says: core.autocrlf:: If true, makes git convert `CRLF` at the end of lines in text files to `LF` when reading from the filesystem, and convert in reverse when writing to the filesystem. The variable can be set to 'input', in which case the conversion happens only while reading from the filesystem but files are written out with `LF` at the end of lines. Currently, which paths to consider "text" (i.e. be subjected to the autocrlf mechanism) is decided purely based on the contents. That is: "input" ensures that CRLF is stripped on input to the repository. While that is fine in some circumstances, the situation I'm describing here is what happens on output from the repository. Andy -- Dr Andy Parkins, M Eng (hons), MIET andyparkins@xxxxxxxxx - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html