I have been bitten by the Windows/Linux line-ending issue with git. It seems, via GitHub, MSysGit, and other sources, that the best solution is to have your local repos set
okay... under cygwin we don't have fromdos easily available, and that awk substeb blows up in your face if you have any spaces in paths to modified files (which we had), so I had to do that somewhat differently:
git status --short | grep "^ *M" | sed 's/^ *M//' | xargs -n 1 dos2unix
kudos to @lloyd for the bulk of this solution