File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3640,7 +3640,7 @@ export class CommandCenter {
3640
3640
}
3641
3641
}
3642
3642
3643
- @command ( 'git.openWorktree' , { repository : true } )
3643
+ @command ( 'git.openWorktree' , { repository : true , repositoryFilter : [ 'worktree' ] } )
3644
3644
async openWorktreeInCurrentWindow ( repository : Repository ) : Promise < void > {
3645
3645
if ( ! repository ) {
3646
3646
return ;
@@ -3650,7 +3650,7 @@ export class CommandCenter {
3650
3650
await commands . executeCommand ( 'vscode.openFolder' , uri , { forceReuseWindow : true } ) ;
3651
3651
}
3652
3652
3653
- @command ( 'git.openWorktreeInNewWindow' , { repository : true } )
3653
+ @command ( 'git.openWorktreeInNewWindow' , { repository : true , repositoryFilter : [ 'worktree' ] } )
3654
3654
async openWorktreeInNewWindow ( repository : Repository ) : Promise < void > {
3655
3655
if ( ! repository ) {
3656
3656
return ;
You can’t perform that action at this time.
0 commit comments