ssh: 'simple' variant does not support -4/-6
commita3f5b66fac3b5f3b2c352c8086dbc3d476f9e3d4
authorJonathan Nieder <jrnieder@gmail.com>
Mon, 20 Nov 2017 21:30:30 +0000 (20 13:30 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 Nov 2017 05:01:03 +0000 (21 14:01 +0900)
tree5fbbe1a1105af18ba2b6e27188fee2a40234bb2b
parent0da0e49ba12225684b75e86a4c9344ad121652cb
ssh: 'simple' variant does not support -4/-6

If the user passes -4/--ipv4 or -6/--ipv6 to "git fetch" or "git push"
and the ssh command configured with GIT_SSH does not support such a
setting, error out instead of ignoring the option and continuing.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Acked-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
connect.c
t/t5601-clone.sh