You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/view/reviewManager.ts
+1-1
Original file line number
Diff line number
Diff line change
@@ -757,7 +757,7 @@ export class ReviewManager implements vscode.DecorationProvider {
757
757
letisDirty=awaitthis._repository.isDirty();
758
758
if(isDirty){
759
759
vscode.window.showErrorMessage('Your local changes would be overwritten by checkout, please commit your changes or stash them before you switch branches');
760
-
return;
760
+
thrownewError('Has local changes');
761
761
}
762
762
763
763
this.statusBarItem.text='$(sync~spin) Switching to Review Mode';
0 commit comments