-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
There has been an issue sometimes if there are no files open or anything in vscode.dev/github.dev
It used to be infrequent, but now it seems to always happen -- and it seems to correct itself after a while (the branch will show up in the statusbar and the top area will refresh), but we don't detect a change.
We have opened an issue for this: microsoft/vscode-remote-repositories-github#308
In the meantime, we might want to look into adding some extra round of detection if we are on the web and there is a workspace folder -- like after a short delay or something if no repos were detected.
Maybe if we are on the web, add a .then onto
vscode-gitlens/src/git/gitProviderService.ts
Line 472 in 3940ef7
| void this.discoverRepositories(workspaceFolders); |
And if no repositories were discovered, do a settimeout for like 500ms or 1s and run the discovery once more.
