hangxingliu / wslgit

:candy: Use Git installed in WSL(Windows Subsystem for Linux) from Windows and Visual Studio Code
GNU General Public License v3.0
150 stars 18 forks source link

[BUG] Path conversion regexp is too eager #11

Closed rennex closed 5 years ago

rennex commented 5 years ago

Describe the bug I wanted to use this program because I had C: mounted at /c in WSL (because that was needed for Docker). But my code lives in C:\Users\username\code\, and those paths got translated into C:\Users\username\C:ode\ or something like that, essentially breaking any paths with directory names starting with "c", because those are also instances of the string /c.

hangxingliu commented 5 years ago

thanks for your report, patch later