While handling file change notifications after a large branch switch, repository discovery fails due to files no longer existing.
Git.GetRefStatus.FailedToDiscoverRepository Failed to open repository. { "path: "E:/someInvalidPath", "result": "Requested object could not be found", "lastError": "Failed to resolve path 'E:/someInvalidPath': The system cannot find the file specified.\r\n" }
Repro:
Create directory with single file in it under monitored repo.
Delete directory.
While handling file change notifications after a large branch switch, repository discovery fails due to files no longer existing.
Git.GetRefStatus.FailedToDiscoverRepository Failed to open repository. { "path: "E:/someInvalidPath", "result": "Requested object could not be found", "lastError": "Failed to resolve path 'E:/someInvalidPath': The system cannot find the file specified.\r\n" }
Repro: Create directory with single file in it under monitored repo. Delete directory.