Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commands using repository.state.refs are broken in VSCode Insiders #245

Closed
unexge opened this issue Feb 28, 2023 · 0 comments · Fixed by #246
Closed

Commands using repository.state.refs are broken in VSCode Insiders #245

unexge opened this issue Feb 28, 2023 · 0 comments · Fixed by #246

Comments

@unexge
Copy link
Contributor

unexge commented Feb 28, 2023

Hey there! It seems like as part of microsoft/vscode#170838 repository.state.refs is deprecated and returns an empty array always. Hence commands using refs (e.g. checkout) doesn't work correctly. Currently, this only affects VSCode Insiders but I believe this change will land in the stable version too.

As a solution they recommend using the newly added repository.getRefs() function instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant