Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(git-spawn): Set GIT_SSH_VARIANT (yarnpkg#4806)
**Summary** Fixes yarnpkg#4729. Previous version in yarnpkg#4805. Manually specify `GIT_SSH_VARIANT` in order to get package download via `git+ssh` with a non-standard port when using `plink.exe` working. Without `GIT_SSH_VARIANT` set properly, Git won't convert `-p` into `-P` and `plink.exe` will throw an error about unknown `-p` parameter. **Test plan** *Before:*  *After:*  Also got `git-spawn.js` test suite updated for testing `GIT_SSH_VARIANT`.
- Loading branch information