connect: rename tortoiseplink and putty variables
authorJunio C Hamano <redacted>
Thu, 26 Jan 2017 14:51:58 +0000 (15:51 +0100)
committerJunio C Hamano <redacted>
Thu, 26 Jan 2017 19:09:17 +0000 (11:09 -0800)
commit6a4f3a9edc25ab091bbe07b537456019fd20e958
tree9cbf39f9698703ce2f4d57c16f33858cd1d08ea6
parente9d9a8a4d281d1f5945c710c65b6f6ee26478923
connect: rename tortoiseplink and putty variables

One of these two may have originally been named after "what exact
SSH implementation do we have?" so that we can tweak the command
line options for that exact implementation.  But "putty=1" no longer
means "We are using the plink SSH implementation that comes with
PuTTY" these days.  It is set when we guess that either PuTTY plink
or Tortoiseplink is in use.

Rename them after what effect is desired.  The current 'putty'
option is about using "-P <port>" when OpenSSH would use "-p <port>",
so rename it to 'port_option' whose value is either 'p' or 'P".  The
other one is about passing an extra command line option "-batch",
so rename it to 'needs_batch'.

[jes: wrapped overly-long line]

Signed-off-by: Junio C Hamano <redacted>
Signed-off-by: Johannes Schindelin <redacted>
Signed-off-by: Junio C Hamano <redacted>
connect.c
git clone https://git.99rst.org/PROJECT