TortoiseGit crashes with "libgit2 returned: failed to get security information: Incorrect function."
What steps will reproduce the problem?
- Upgrade to TortoiseGit 22.214.171.124
- Attempt to pull on an existing repository clone, view log, etc., all of which works fine in TortoiseGit 126.96.36.199
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?
188.8.131.52 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
Uninstalling Tortoise Git 184.108.40.206 and downgrading to 220.127.116.11 fixes the issue.
Git version is latest available for this platform:
$ git --version git version 2.39.1.windows.1