[BUG] having 'plink' anywhere in the GIT_SSH environment variables sets putty = true
- From
Patrick Sharp <jakanapes@gmail.com>
- Date
- Apr 22, 2015, 14:36 UTC
- Message-ID
- <2A6FFC1D-5479-4DCA-A5E5-FF92DE0AA552@gmail.com>
The plink string detection in GIT_SSH for setting putty to true is very broad.
If plink is anywhere in the path to the shell file then putty gets set to true and ssh will fail trying to parse -batch as the hostname.
Wouldn’t searching for plink.exe be better?