Csantucci, on 09 November 2017 - 12:15 PM, said:
I have a stupid problem that I can't solve cleanly. When cloning the OR repository, I get one or two files that are unstaged (one example is file OR_MG_LaunchpadGit\Website\openrails.org\shared\mysql\create_db.sql .
crlf.jpg
After a search on the web this seems a problem of line endings (CR-LF versus LF only). I could get rid of it only committing such files, therefore creating unwanted commits.
Hmm, that is the kind of weirdness that sometimes happens with Git and line endings, although I can't see any reason why that file is being affected and I can't reproduce that even after I've reset my Git settings to defaults. Can you open the file in an editor that shows line endings and check what the file contains? It should be all CRLF.