Repository navigation
Closed
Description
- VSCode Version: 1.2.0-insider (24e811a)
- OS Version: Windows 7 SP 1 x64
Steps to Reproduce:
- Install Git for Windows 1.8.3
- Install Cygwin with Git 2.8.0
- Start VSCode
- Receive warning "You seem to have git 1.8.3 installed. Code works best with git >= 2.0.0."
Expected Result:
I'd expect VSCode to use the first item (earlier in my PATH) or the newest version.
Actual Result:
VSCode is using the last exe in my path from what i can tell.
Environment Info:
C:\Users\brandon>where git
D:\cygwin64\bin\git.exe
C:\Program Files (x86)\Git\cmd\git.exe
C:\Users\brandon>git --version
git version 2.8.0
C:\Users\brandon>D:\cygwin64\bin\git.exe --version
git version 2.8.0
C:\Users\brandon>"C:\Program Files (x86)\Git\cmd\git.exe" --version
git version 1.8.3.msysgit.0
C:\Users\brandon>echo %PATH%
D:\cygwin64\bin;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;D:\PHP;D:\Python\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Universal Extractor;C:\Program Files (x86)\Universal Extractor\bin;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\MySQL\MySQL Utilities 1.3.4\;D:\Cygwin\bin;C:\Windows\SysWOW64;C:\Program Files\Perforce;C:\Program Files\Common Files\Autodesk Shared\;C:\Program Files (x86)\Autodesk\Backburner\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%USERPROFILE%\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Go\bin;C:\Program Files\nodejs\;C:\Program Files (x86)\Skype\Phone\;C:\HashiCorp\Vagrant\bin;C:\Qt\Qt5.1.1\5.11\mingw48_32\bin;D:\cygwin64\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Users\brandon\AppData\Local\atom\bin;C:\Rust\bin;C:\Users\brandon\AppData\Roaming\npm;C:\Python27;C:\Program Files (x86)\Microsoft VS Code Insiders\bin
Metadata
Metadata
Assignees
Labels
No labels
Activity
joaomoreno commentedon Jun 8, 2016
Code doesn't support cygwin's git.
Also, in Windows we have some heuristics to pick it up without depending on the
PATH. That's why theProgram Files (x86)one is being picked up.Git has long ago released a 2.x.x version for Windows, I suggest to install that one.
brandonwamboldt commentedon Jun 8, 2016
Any reason why Code doesn't/can't support Cygwin's git?
joaomoreno commentedon Jun 8, 2016
Just never really looked into it.