Skip to content

Provide option to default to github provider for git.api.getRemoteSources#106368

Merged
joaomoreno merged 3 commits intomicrosoft:masterfrom
wangjaso:master
Nov 10, 2020
Merged

Provide option to default to github provider for git.api.getRemoteSources#106368
joaomoreno merged 3 commits intomicrosoft:masterfrom
wangjaso:master

Conversation

@wangjaso
Copy link
Contributor

@wangjaso wangjaso commented Sep 9, 2020

This PR fixes #106316

@joaomoreno

Add an optional param to the git.api.getRemoteSources api call to default to a specific provider.

You can test it by calling

await commands.executeCommand('git.api.getRemoteSources', {
    providerName: 'GitHub'
})

This will skip the choose provider and show directly your repos in GitHub

@wangjaso
Copy link
Contributor Author

Let me know if there's anything else to be fixed here. Thanks!

@wangjaso
Copy link
Contributor Author

@joaomoreno Can this change be merged now?

@joaomoreno joaomoreno added this to the October 2020 milestone Sep 28, 2020
@joaomoreno
Copy link
Member

Thanks! 🍻

@joaomoreno joaomoreno merged commit 7200f73 into microsoft:master Nov 10, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Dec 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide option to default to github provider git.api.getRemoteSources and potentially list org repos.

3 participants