]> git.ipfire.org Git - thirdparty/git.git/commit - t/t5601-clone.sh
connect: Add the envvar GIT_SSH_VARIANT and ssh.variant config
authorSegev Finer <segev208@gmail.com>
Wed, 1 Feb 2017 12:01:16 +0000 (13:01 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Feb 2017 18:57:53 +0000 (10:57 -0800)
commitdd33e07766f883c1bbfd20482123e143028f0af6
treea4becb91dcf6f626b3b74ccfc31662a50ec6c30c
parente2824e47e792ad1b2862108bc78af4d3468633fb
connect: Add the envvar GIT_SSH_VARIANT and ssh.variant config

This environment variable and configuration value allow to
override the autodetection of plink/tortoiseplink in case that
Git gets it wrong.

[jes: wrapped overly-long lines, factored out and changed
get_ssh_variant() to handle_ssh_variant() to accomodate the
change from the putty/tortoiseplink variables to
port_option/needs_batch, adjusted the documentation, free()d
value obtained from the config.]

Signed-off-by: Segev Finer <segev208@gmail.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
Documentation/git.txt
connect.c
t/t5601-clone.sh