One of the reason for needing the line ending is so you can stage lines in git gui, if there is no line endings it will give an error.