microsoft / microsoft/VFSForGit
Use triggering process name from callback to determine if git is deleting directories
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.1k
- Forks
- 474
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 8
Description
Currently VFS4G checks if git holds the GVFSLock when processing directory deletes:
And if it does, VFS4G assumes that git was the process that deleted the directory.
Now that #885 has been merged VFS4G can instead check the name of the process that triggered the delete to determine if it was git that performed the delete.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in GVFS/GVFS.Virtualization/FileSystem/FileSystemVirtualizer.cs around line 194 and read the linked implementation. Review the changes from issue #885 to find how the callback exposes the triggering process name. Done means directory-delete handling determines whether Git performed the delete from that process name rather than from the GVFSLock state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100