Failed to checkout file when view file diff using Windows 11 context menu.
What steps will reproduce the problem?
- right-click in git workspace folder. (Use windows 11 and tortoisegit 2.13.0)
- select
tortoisegit-diff
ortortoisegit-showlog
. - double-click any modified file in list.
- show "Failed to checkout file of revision to . libgit2 returned: Could not create file." error messgae.
What is the expected output? What do you see instead?
- open file diff view, no error.
What version of TortoiseGit and Git are you using? On what operating system?
tortoisegit 2.13.0 git version 2.35.1.windows.2 windows 11 21h2 10.0.22000.527
Please provide any additional information below.
This problem does not occur when using the classic context menu.
If use windows 11 context menu to open ·
settings-general-show environment variables`, tortoisegit will hung. and no icon show in taskbar. I think these bugs are caused by the same reasons.