Skip to content

Commit 860defc

Browse files
allow delete worktrees if worktrees are closed (microsoft#258696)
1 parent 444aaf6 commit 860defc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/git/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1345,7 +1345,7 @@
13451345
},
13461346
{
13471347
"command": "git.deleteWorktreeFromPalette",
1348-
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount > 1"
1348+
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
13491349
},
13501350
{
13511351
"command": "git.deleteRemoteTag",

0 commit comments

Comments
 (0)