Skip to content

Commit 0115b54

Browse files
authored
Show progress bar after Resolve conflicts has been pressed (#5956)
Fixes #5944
1 parent c264cb7 commit 0115b54

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
@@ -2156,7 +2156,7 @@ export class FolderRepositoryManager implements vscode.Disposable {
21562156

21572157
const isBrowser = (vscode.env.appHost === 'vscode.dev' || vscode.env.appHost === 'github.dev');
21582158
if (!pullRequest.isActive || isBrowser) {
2159-
const conflictModel = await createConflictResolutionModel(pullRequest);
2159+
const conflictModel = await vscode.window.withProgress({ location: vscode.ProgressLocation.Notification, title: vscode.l10n.t('Finding conflicts...') }, () => createConflictResolutionModel(pullRequest));
21602160
if (conflictModel === undefined) {
21612161
await vscode.window.showErrorMessage(vscode.l10n.t('Unable to resolved conflicts for this pull request. There are too many file changes.'), { modal: true, detail: isBrowser ? undefined : vscode.l10n.t('Please check out the pull request to resolve conflicts.') });
21622162
return false;

0 commit comments

Comments
 (0)