Skip to content

Commit

Permalink
Enable git.confirmSync by default (fixes #8655)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrmarti committed Oct 6, 2016
1 parent 7e4d966 commit 3d9773d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/vs/workbench/parts/git/browser/gitActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ export class SyncAction extends GitAction {

const config = this.configurationService.getConfiguration<IGitConfiguration>('git');

if (config.confirmSync && !window.confirm(nls.localize('sureSync', "Are you sure you want to synchronize your git repository?"))) {
if (config.confirmSync && !window.confirm(nls.localize('sureSync', "Synchronize will first pull and then push. Are you sure you want to synchronize your git repository?"))) {
return TPromise.as(null);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ export function registerContributions(): void {
'git.confirmSync': {
type: 'boolean',
description: nls.localize('confirmSync', "Confirm before synchronizing git repositories."),
default: false
default: true
},
'git.countBadge': {
type: 'string',
Expand Down

0 comments on commit 3d9773d

Please sign in to comment.