Running git on a Windows XP machine, using bash. I exported my project from SVN, and then cloned a bare repository.
I then pasted the export into the bare repositori
I think @Basiloungas's answer is close but out of date (at least on Mac).
Open the ~/.gitconfig file and set safecrlf to false
safecrlf
[core] autocrlf = input safecrlf = false
That *will make it ignore the end of line char apparently (worked for me, anyway).