-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VSCode should support msys git on windows #96553
Comments
(Experimental duplicate detection) |
There's plenty of reasons why Git for Windows is the only supported version:
|
Thanks for elaborating. I do see your point, although I'd argue the development effort to support it would likely not be great, as in the end it is still a fully functional windows git version. I just personally don't like to duplicate files or programs, and installing git for windows means installing lots of mingw files too, that are already present on my system if I'm already using a mingw / msys2 setup. |
For completeness, Git for Windows 'Comes with MSYS2 runtime'. Hence, supporting the standard MSYS2 environment does not involve supporting more versions. Just a different location. Moreover, I find it doubtfult that Git for Windows is 'what pretty much every user has installed'. I see MSYS2 to be much widely used than Git for Windows, precisely because developers prefer the upstream product instead of a limited rebranding. I found several users that changed from Git for Windows to MSYS2 or WSL, but not a single one that did the other way. I'd be glad if such decisions were backend by data. There are ~40 issues about MSYS2 and +500 reactions. Ref #87102 |
Note: Probably related to #87102.
I actually haven't noticed for a while, until I realized vscode doesn't work well with msys's git (not the git for windows install). From my little research this appears to be because
git init
outputs a different format depending on how git was compiled.msys git:
Reinitialized existing Git repository in /g/Dokumente/GitHub/vscode/.git/
Git for Windows:
Reinitialized existing Git repository in G:/Dokumente/GitHub/vscode/.git/
Other features, like merge conflict diffing, seem to work, so I believe this output difference is what makes vscode not working with msys git. Could support for this format be added? I would appreciate being able to work with msys git instead of using the git for windows install.
I found this statement, so if this is the final stand, I'd appreciate a reason for why this is the only supported git version.
The text was updated successfully, but these errors were encountered: