ValveSoftware / source-sdk-2013

The 2013 edition of the Source SDK
https://developer.valvesoftware.com/wiki/SDK2013_GettingStarted
Other
3.76k stars 2k forks source link

glmgrbasics.h is constantly marked as changed and can't be reverted #306

Open geotavros opened 9 years ago

geotavros commented 9 years ago

mp/src/public/togl/osx/glmgrbasics.h sp/src/public/togl/osx/glmgrbasics.h

These files are constantly marked as modified, but they aren't. And I can't revert them. Does anybody have the same issue?

May be this is because I'm using SourceTree on Windows for git? I've used Git Bash to revert these files, but it didn't help. I've also used various methods from stackoverflow website, which also didn't help. Seems like these files have incorrect line endings in repository.

dotn3b commented 9 years ago

Just cloned and then checked out HEAD^ (the previous commit), yes with SourceTree. Same thing happened. Have not tested this further nor tried fixing it. Just so you know it's not you.

tschumann commented 9 years ago

I had the same problem (though only for the sp/ file) using the GitHub client on Windows 7. I deleted and redownloaded which seems to have fixed the issue but I'd be interested in a proper fix in case it happens again.