TortoiseGit crashes with "libgit2 returned: failed to get security information: Incorrect function."
What steps will reproduce the problem?
- Upgrade to TortoiseGit 2.14.0.0
- Attempt to pull on an existing repository clone, view log, etc., all of which works fine in TortoiseGit 2.13.0.1
What is the expected output? What do you see instead?
I expect the requested operation to complete without error; instead, TortoiseGit pops an error dialog that says: "Could not get HEAD hash. libgit2 returned: failed to get security information: Incorrect function." (Screenshot attached.)
What version of TortoiseGit and Git are you using? On what operating system?
2.14.0.0 on Windows 10 21H2, OS build 19044.2486, Experience Windows Feature Experience Pack 120.2212.4190.0.
Please provide any additional information below.
Everything was working fine until TortoiseGit prompted me to upgrade to the latest version, which I did. Now, I receive this error any time I attempt to work with an existing repository clone.
I don't know if it's relevant, but the repository resides on a WSL share, e.g., inside \\wsl.localhost\Ubuntu-20.04
.
Uninstalling Tortoise Git 2.14.0.0 and downgrading to 2.13.0.1 fixes the issue.
Git version is latest available for this platform:
$ git --version
git version 2.39.1.windows.1