TGitCache blocks repository directory to be truly deleted
What steps will reproduce the problem?
- Hard delete the repository directory with Shift-Del in Windows Explorer - not to RecycleBin
- Directory seems to be deleted (not shown)
- Press F5 - directory is shown but not accessible - it's scheduled to be deleted
It could take up to 10 minutes to be truly deleted thanks to this line
What version of TortoiseGit and Git are you using? On what operating system? 2.10.0.2
There should be a check if all watched paths (or may be better watchedPaths[i] + \\.git
) still exist otherwise remove them.