Merge branch 'bc/connect-plink' into maint
commit2d8bb4685c4d1e7187f93436fc26ad468a0cf941
authorJunio C Hamano <gitster@pobox.com>
Fri, 5 Jun 2015 19:00:11 +0000 (5 12:00 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Jun 2015 19:00:11 +0000 (5 12:00 -0700)
treecf2811f654e9f3fb6ed4b750e39801c7e6ca7626
parentc7b4de2cc549477be8e4eb2c0077f045e80a6d17
parentbaaf233755f71c057d28b9e8692e24d4fca7d22f
Merge branch 'bc/connect-plink' into maint

The connection initiation code for "ssh" transport tried to absorb
differences between the stock "ssh" and Putty-supplied "plink" and
its derivatives, but the logic to tell that we are using "plink"
variants were too loose and falsely triggered when "plink" appeared
anywhere in the path (e.g. "/home/me/bin/uplink/ssh").

* bc/connect-plink:
  connect: improve check for plink to reduce false positives
  t5601: fix quotation error leading to skipped tests
  connect: simplify SSH connection code path
connect.c
t/t5601-clone.sh