mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01: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:
parent
fd49acd033
commit
7e7720803c
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue