SCM - fix repository artifact actions (#275324)

This commit is contained in:
Ladislau Szomoru
2025-11-04 21:40:46 +00:00
committed by GitHub
parent 50212ce787
commit 88236d6c24
4 changed files with 19 additions and 20 deletions

View File

@@ -1032,7 +1032,7 @@
"title": "%command.graphCheckout%",
"icon": "$(target)",
"category": "Git",
"enablement": "!operationInProgress"
"enablement": "!operationInProgress && !scmArtifactIsHistoryItemRef"
},
{
"command": "git.repositories.checkoutDetached",
@@ -1076,13 +1076,13 @@
"command": "git.repositories.deleteBranch",
"title": "%command.deleteRef%",
"category": "Git",
"enablement": "!operationInProgress"
"enablement": "!operationInProgress && !scmArtifactIsHistoryItemRef"
},
{
"command": "git.repositories.deleteTag",
"title": "%command.deleteRef%",
"category": "Git",
"enablement": "!operationInProgress"
"enablement": "!operationInProgress && !scmArtifactIsHistoryItemRef"
},
{
"command": "git.repositories.createFrom",