We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f9daa9 commit 8f51aadCopy full SHA for 8f51aad
src/github/folderRepositoryManager.ts
@@ -2740,7 +2740,7 @@ export class FolderRepositoryManager extends Disposable {
2740
await matchingRepo.addRemote(workingRemoteName, result);
2741
// Now the extension is responding to all the git changes.
2742
await new Promise<void>(resolve => {
2743
- if (this.gitHubRepositories.length === startingRepoCount) {
+ if ((this.gitHubRepositories.length === startingRepoCount) && vscode.workspace.getConfiguration(PR_SETTINGS_NAMESPACE).get<string[]>(REMOTES)?.includes('upstream')) {
2744
const disposable = this.onDidChangeRepositories(() => {
2745
if (this.gitHubRepositories.length > startingRepoCount) {
2746
disposable.dispose();
0 commit comments