mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 14:01:38 +01:00
Git - fix regression related to editing the merge commit message (#241061)
This commit is contained in:
@@ -1294,20 +1294,7 @@ export class Repository implements Disposable {
|
||||
const workingGroupResources = opts.all && opts.all !== 'tracked' ?
|
||||
[...this.workingTreeGroup.resourceStates.map(r => r.resourceUri.fsPath)] : [];
|
||||
|
||||
if (this.mergeInProgress) {
|
||||
await this.run(
|
||||
Operation.MergeContinue,
|
||||
async () => {
|
||||
if (opts.all) {
|
||||
const addOpts = opts.all === 'tracked' ? { update: true } : {};
|
||||
await this.repository.add([], addOpts);
|
||||
}
|
||||
|
||||
await this.repository.mergeContinue();
|
||||
await this.commitOperationCleanup(message, indexResources, workingGroupResources);
|
||||
},
|
||||
() => this.commitOperationGetOptimisticResourceGroups(opts));
|
||||
} else if (this.rebaseCommit) {
|
||||
if (this.rebaseCommit) {
|
||||
await this.run(
|
||||
Operation.RebaseContinue,
|
||||
async () => {
|
||||
|
||||
Reference in New Issue
Block a user