tortoiseplink ssh variant still needed?
From: Sven Strickroth <hidden>
Date: 2021-10-22 16:19:16
Hi, Git differentiates between different variants of SSH tools. One variant is the tortoiseplink variant. When this is configured Git passes passes a special "--batch" parameter and passes the port using "-P" (capitalized P) t the SSH tool. IIRC tortoiseplink was initially created by TortoiseCVS which is nowadays not maintained any more (<http://www.tortoisecvs.org/download.shtml>). In TortoiseSVN and TortoiseGit tortoiseplink was modified six years ago (around 2015-03-07) to ignore the "--batch" parameter and also accept "-p" additionally to "-P" (cf. <https://osdn.net/projects/tortoisesvn/scm/svn/commits/26348>). Therefore, my first question: Does Git still want to support very old versions of tortoiseplink or should I provide a patch which drops support for it? Second question: TortoiseGit comes with an even more improved version of TortoisePLink (named TortoiseGitPLink, but also ships the same binary as tortoiseplink) that also accepts "-o SetEnv=..." parameters in order to support the Git protocol version 2. At the moment TortoiseGit automatically sets the environment variable "GIT_SSH_VARIANT=ssh". This works, but is not perfect if other parameter of OpenSSH are used. Would it make sense to add a new ssh variant tortoisegitplink? If yes, how to handle new versions that might also support even more OpenSSH command line parameters? -- Best regards, Sven Strickroth PGP key id F5A9D4C4 @ any key-server