kemayo / sublime-text-git

Plugin for some git integration into sublime text
MIT License
2.83k stars 390 forks source link

Fix to work with Windows backslashes in __file__ #508

Closed bretsky closed 8 years ago

bretsky commented 8 years ago

This fixes issues #506, #484, and #457, which seem to be Windows 10 specific. I checked, and on Windows 10 and Python 3.5, file is .\git__init__.pyc, so you need to check for backslashes also.