mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-22 19:29:17 +00:00
Git - update branch protection dialog message (#284037)
This commit is contained in:
@@ -2417,7 +2417,7 @@ export class CommandCenter {
|
||||
let pick: string | undefined = commitToNewBranch;
|
||||
|
||||
if (branchProtectionPrompt === 'alwaysPrompt') {
|
||||
const message = l10n.t('You are trying to commit to a protected branch and you might not have permission to push your commits to the remote.\n\nHow would you like to proceed?');
|
||||
const message = l10n.t('You are trying to commit to a protected branch. How would you like to proceed?');
|
||||
const commit = l10n.t('Commit Anyway');
|
||||
|
||||
pick = await window.showWarningMessage(message, { modal: true }, commitToNewBranch, commit);
|
||||
|
||||
Reference in New Issue
Block a user