TortoiseGitPlink does not work with Git protocol ver. 2
What steps will reproduce the problem?
- Enable Git protocol version 2:
git config --global protocol.version 2
. - Try to fetch or pull a repository via TortoiseGit.
What is the expected output? What do you see instead?
Expected: A successful fetch/pull.
Instead: An error occurs:
git.exe fetch -v --progress "origin"
tortoisegitplink: unknown option "-o"
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
git did not exit cleanly (exit code 128) (187 ms @ 2018-10-25 12:12:44 PM)
What version of TortoiseGit and Git are you using? On what operating system?
TortoiseGit 2.7.0.0
git version 2.19.1.windows.1
GIT_SSH environment variable is set to TortoiseGitPlink.exe
.
Please provide any additional information below.
From the Process Monitor, the command line is:
"C:\Program Files\TortoiseGit\bin\TortoiseGitPlink.exe" -o SendEnv=GIT_PROTOCOL git@our.gitlab.server.com "git-upload-pack 'GitLabGroup/MyRepo.git'"`
The problem is that TortoiseGitPlink does not support the "-o" parameter, unlike ssh
.