-
Notifications
You must be signed in to change notification settings - Fork 705
Implement git remote source provider #1661
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
Conversation
src/extension.ts
Outdated
| registerCommands(context, prManager, reviewManager, telemetry); | ||
|
|
||
| const gitExtension = vscode.extensions.getExtension<GitExtension>('vscode.git')!.exports; | ||
| const gitAPI = gitExtension.getAPI(1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alexr00 I've extracted getting the GitAPI here, so it can be reused in initializing GithubRemoteSourceProvider.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_
|
I believe this is good to go. Complete functionality from the Git extension should land tomorrow on Insiders. |
RMacfarlane
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
This aims to implement the RemoteSourceProvider interface for adding the ability to clone GitHub repositories without copy pasting their URLs.
Fixes #1547