Skip to content

Commit 8f51aad

Browse files
authored
Stuck at creating fork (#7156)
Fixes #6968
1 parent 0f9daa9 commit 8f51aad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/github/folderRepositoryManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2740,7 +2740,7 @@ export class FolderRepositoryManager extends Disposable {
27402740
await matchingRepo.addRemote(workingRemoteName, result);
27412741
// Now the extension is responding to all the git changes.
27422742
await new Promise<void>(resolve => {
2743-
if (this.gitHubRepositories.length === startingRepoCount) {
2743+
if ((this.gitHubRepositories.length === startingRepoCount) && vscode.workspace.getConfiguration(PR_SETTINGS_NAMESPACE).get<string[]>(REMOTES)?.includes('upstream')) {
27442744
const disposable = this.onDidChangeRepositories(() => {
27452745
if (this.gitHubRepositories.length > startingRepoCount) {
27462746
disposable.dispose();

0 commit comments

Comments
 (0)