at 16.09-beta 26 lines 795 B view raw
1diff --git a/connect.c b/connect.c 2index fd7ffe1..20cd992 100644 3--- a/connect.c 4+++ b/connect.c 5@@ -768,7 +768,7 @@ struct child_process *git_connect(int fd[2], const char *url, 6 7 ssh = getenv("GIT_SSH"); 8 if (!ssh) 9- ssh = "ssh"; 10+ ssh = "@ssh@"; 11 12 ssh_dup = xstrdup(ssh); 13 base = basename(ssh_dup); 14diff --git a/git-gui/lib/remote_add.tcl b/git-gui/lib/remote_add.tcl 15index 50029d0..17b9594 100644 16--- a/git-gui/lib/remote_add.tcl 17+++ b/git-gui/lib/remote_add.tcl 18@@ -139,7 +139,7 @@ method _add {} { 19 # Parse the location 20 if { [regexp {(?:git\+)?ssh://([^/]+)(/.+)} $location xx host path] 21 || [regexp {([^:][^:]+):(.+)} $location xx host path]} { 22- set ssh ssh 23+ set ssh @ssh@ 24 if {[info exists env(GIT_SSH)]} { 25 set ssh $env(GIT_SSH) 26 }