1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-19 16:58:48 +02:00

Set GIT_SSH_VARIANT alongside GIT_SSH

A recent version of Git has changed some piece of behavior here and we
now get "fatal: ssh variant 'simple' does not support setting port"
when using a port. Explicitly setting GIT_SSH_VARIANT to `ssh` likely
fixes this.
This commit is contained in:
epriestley 2018-01-26 13:21:10 -08:00
parent fd49acd033
commit 7e7720803c

View file

@ -27,6 +27,7 @@ final class DiffusionGitCommandEngine
$env['HOME'] = PhabricatorEnv::getEmptyCWD();
$env['GIT_SSH'] = $this->getSSHWrapper();
$env['GIT_SSH_VARIANT'] = 'ssh';
if ($this->isAnyHTTPProtocol()) {
$uri = $this->getURI();