microsoft / VFSForGit

Virtual File System for Git: Enable Git at Enterprise Scale
MIT License
5.98k stars 451 forks source link

TortoiseGit error: index.lock #1824

Closed lilhoser closed 2 weeks ago

lilhoser commented 2 weeks ago

I'm unable to use TortoiseGit with gvfs:

Image

derrickstolee commented 2 weeks ago

Third-party tools that modify your .git/ folder are incompatible with VFS for Git. Only tools using the version of Git installed on the PATH will be compatible.

This signal is a sign that TortoiseGit is directly manipulating the index file, which would disrupt the virtualization layer. The GVFS.Mount process is holding a handle on the .git/index file to prevent this exact scenario.