Skip to content

SCM/statusbar (and api events) aren't correct for a repo with no files open on load #308

@eamodio

Description

@eamodio

If you open a repo in vscode.dev or github.dev and there are no opened editors, the SCM view & statusbar aren't updated correctly -- e.g. the branch is missing. It seems to fix itself at some point if you just do nothing (takes like a minute or so -- or maybe its switching tabs and coming back) -- or if you open a file it will "fix" things too.

image

This also causes GitLens to not detect that there is a repository open -- which seems like there is an event or timing issue missing.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions