If Git line-end conversion is causing the trouble - maybe would be best to enforce `eof=lf` by **.gitattributes** files. https://help.github.com/articles/dealing-with-line-endings