mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 03:54:24 +01:00
Merge commit 'refs/pull/47790/head' of github.com:Microsoft/vscode into pr/47790
This commit is contained in:
@@ -1395,6 +1395,10 @@ export class CommandCenter {
|
||||
|
||||
try {
|
||||
await repository.push(repository.HEAD);
|
||||
const gitConfig = workspace.getConfiguration('git');
|
||||
if (gitConfig.get<boolean>('showPushSuccessNotification')) {
|
||||
window.showInformationMessage(localize('push success', "Successfully pushed."));
|
||||
}
|
||||
} catch (err) {
|
||||
if (err.gitErrorCode !== GitErrorCodes.NoUpstreamBranch) {
|
||||
throw err;
|
||||
|
||||
Reference in New Issue
Block a user