mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
Revert "SCM - disable actions for resource groups that do not have any resources (#236813)" (#239098)
This reverts commit 151ef3514e.
This commit is contained in:
@@ -164,14 +164,14 @@
|
||||
"title": "%command.stageAll%",
|
||||
"category": "Git",
|
||||
"icon": "$(add)",
|
||||
"enablement": "!operationInProgress && scmResourceGroupResourceCount > 0"
|
||||
"enablement": "!operationInProgress"
|
||||
},
|
||||
{
|
||||
"command": "git.stageAllTracked",
|
||||
"title": "%command.stageAllTracked%",
|
||||
"category": "Git",
|
||||
"icon": "$(add)",
|
||||
"enablement": "!operationInProgress && scmResourceGroupResourceCount > 0"
|
||||
"enablement": "!operationInProgress"
|
||||
},
|
||||
{
|
||||
"command": "git.stageAllUntracked",
|
||||
@@ -244,7 +244,7 @@
|
||||
"title": "%command.unstageAll%",
|
||||
"category": "Git",
|
||||
"icon": "$(remove)",
|
||||
"enablement": "!operationInProgress && scmResourceGroupResourceCount > 0"
|
||||
"enablement": "!operationInProgress"
|
||||
},
|
||||
{
|
||||
"command": "git.unstageSelectedRanges",
|
||||
@@ -271,14 +271,14 @@
|
||||
"title": "%command.cleanAll%",
|
||||
"category": "Git",
|
||||
"icon": "$(discard)",
|
||||
"enablement": "!operationInProgress && scmResourceGroupResourceCount > 0"
|
||||
"enablement": "!operationInProgress"
|
||||
},
|
||||
{
|
||||
"command": "git.cleanAllTracked",
|
||||
"title": "%command.cleanAllTracked%",
|
||||
"category": "Git",
|
||||
"icon": "$(discard)",
|
||||
"enablement": "!operationInProgress && scmResourceGroupResourceCount > 0"
|
||||
"enablement": "!operationInProgress"
|
||||
},
|
||||
{
|
||||
"command": "git.cleanAllUntracked",
|
||||
@@ -902,14 +902,14 @@
|
||||
"title": "%command.viewChanges%",
|
||||
"icon": "$(diff-multiple)",
|
||||
"category": "Git",
|
||||
"enablement": "!operationInProgress && scmResourceGroupResourceCount > 0"
|
||||
"enablement": "!operationInProgress"
|
||||
},
|
||||
{
|
||||
"command": "git.viewStagedChanges",
|
||||
"title": "%command.viewStagedChanges%",
|
||||
"icon": "$(diff-multiple)",
|
||||
"category": "Git",
|
||||
"enablement": "!operationInProgress && scmResourceGroupResourceCount > 0"
|
||||
"enablement": "!operationInProgress"
|
||||
},
|
||||
{
|
||||
"command": "git.viewUntrackedChanges",
|
||||
|
||||
Reference in New Issue
Block a user