From: Junio C Hamano Date: Mon, 27 Feb 2017 21:57:14 +0000 (-0800) Subject: Merge branch 'sf/putty-w-args' X-Git-Tag: v2.13.0-rc0~167 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/be6ab596a8e63f0bd6a5da0a97db78e0f0e41839 Merge branch 'sf/putty-w-args' The command line options for ssh invocation needs to be tweaked for some implementations of SSH (e.g. PuTTY plink wants "-P " while OpenSSH wants "-p " to specify port to connect to), and the variant was guessed when GIT_SSH environment variable is used to specify it. The logic to guess now applies to the command specified by the newer GIT_SSH_COMMAND and also core.sshcommand configuration variable, and comes with an escape hatch for users to deal with misdetected cases. * sf/putty-w-args: connect.c: stop conflating ssh command names and overrides connect: Add the envvar GIT_SSH_VARIANT and ssh.variant config git_connect(): factor out SSH variant handling connect: rename tortoiseplink and putty variables connect: handle putty/plink also in GIT_SSH_COMMAND --- be6ab596a8e63f0bd6a5da0a97db78e0f0e41839