I want to remove my local repository entirely, but TGitCache.exe keeps an open handle to the directory. I would like to shut it down gracefully, delete the folder and start it again.
3 Answers
- Open TortoiseGit Settings > Icon Overlays
- In section "Status cache" select "None"
- Click OK
TGitCache.exe
will disappear from the process list.
If you need it again, you can turn it on by selecting another option, like "Default". After a click in an explorer window TGitCache.exe
will run again.
- 14,229
- 7
- 73
- 112
- 14,748
- 9
- 51
- 92
-
In the same setting there is also the possibility to exclude a folder – lib Aug 11 '15 at 08:17
-
See http://stackoverflow.com/a/32427524/3906760 for a quicker way - despite this issue should also be fixed in recent versions. – MrTux Oct 21 '15 at 13:03
-
This is a huge resource saver, you have no idea. – tfont May 08 '18 at 15:20
You can enable a systray icon for TGitCache.
Open TortoiseGit settings and open Advanced page. There set CacheTryIcon
to true
and restart TGitCache.
Now you have a new TortoiseGit icon in the systray where you can select "Exit" to close TGitCache (it will restart automatically again). You can also select "Disable Status cache" which will set Status cache to None
(see https://stackoverflow.com/a/16921151/3906760).
Have you seen this?
https://tortoisegit.org/issue/401
It's a bug report on TortoiseGit that seems to be describing your exact problem.
Basically, it seems that TGitCache.exe shouldn't be doing that, and in the newest versions of TortoiseGit it doesn't. Perhaps you might try upgrading your TortoiseGit?
-
3I already have the newest version. And I suppose there will be "1 more bug" till the end of time, so graceful shutdown is still a requirement, no matter what. But I have the solution, see my own anser in a minute. – Notinlist Jun 04 '13 at 14:58