src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.ts/TempFileMergeEditorInputModel/save
class TempFileMergeEditorInputModel:	public async save(options?: ITextFileSaveOptions): Promise<void> {
		if (this.finished) {
			return;
		}
		// It does not make sense to save anything in the temp file mode.
		// The file stays dirty from the first edit on.

		(async () => {
			const result = await this.dialogService.show(
				Severity.Info,
				localize(
					'saveTempFile',
					"Do you want to accept the merge result? This will write the merge result to the original file and close the merge editor."
				),
				[
					localize('acceptMerge', 'Accept Merge'),
					localize('cancel', "Cancel"),
				],
				{ cancelId: 1 }
			);

			if (result.choice === 0) {
				await this.accept();
				const editors = this.editorService.findEditors(this.resultUri).filter(e => e.editor.typeId === 'mergeEditor.Input');
				await this.editorService.closeEditors(editors);
			}
		})();
	}