git/list[1] front-page[2] threads[3] people[4] search[5] about
 

tortoiseplink ssh variant still needed?

From
Sven Strickroth <email@cs-ware.de>
Date
Oct 22, 2021, 16:13 UTC
Message-ID
<dad761bf-3121-8934-fad6-78610bc21121@cs-ware.de>
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
Next: Sven Strickroth
Message 1 of 5 in “tortoiseplink ssh variant still needed?”
  1. Sven StrickrothOct 22, 2021
  2. Drop unneeded special handling of ssh variant tortoiseplinkSven Strickroth, Oct 22, 2021
  3. Ævar Arnfjörð BjarmasonOct 23, 2021
  4. Junio C HamanoOct 23, 2021
  5. Johannes SchindelinOct 25, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.