From: Johannes Schindelin Date: Wed, 1 Feb 2017 12:01:10 +0000 (+0100) Subject: git_connect(): factor out SSH variant handling X-Git-Tag: v2.13.0-rc0~167^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/e2824e47e792ad1b2862108bc78af4d3468633fb?hp=e2824e47e792ad1b2862108bc78af4d3468633fb git_connect(): factor out SSH variant handling We handle plink and tortoiseplink as OpenSSH replacements, by passing the correct command-line options when detecting that they are used. To let users override that auto-detection (in case Git gets it wrong), we need to introduce new code to that end. In preparation for this code, let's factor out the SSH variant handling into its own function, handle_ssh_variant(). Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano ---