Skip to content

Commit d99d645

Browse files
authored
Git - Switch to using the remoteName context key (microsoft#151212)
Switch to using the remoteName context key
1 parent ee813f3 commit d99d645

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

extensions/git/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,17 +1249,17 @@
12491249
},
12501250
{
12511251
"command": "git.revealFileInOS.linux",
1252-
"when": "scmProvider == git && scmResourceGroup == merge && resourceScheme == file && isLinux",
1252+
"when": "scmProvider == git && scmResourceGroup == merge && remoteName == '' && isLinux",
12531253
"group": "2_view@2"
12541254
},
12551255
{
12561256
"command": "git.revealFileInOS.mac",
1257-
"when": "scmProvider == git && scmResourceGroup == merge && resourceScheme == file && isMac",
1257+
"when": "scmProvider == git && scmResourceGroup == merge && remoteName == '' && isMac",
12581258
"group": "2_view@2"
12591259
},
12601260
{
12611261
"command": "git.revealFileInOS.windows",
1262-
"when": "scmProvider == git && scmResourceGroup == merge && resourceScheme == file && isWindows",
1262+
"when": "scmProvider == git && scmResourceGroup == merge && remoteName == '' && isWindows",
12631263
"group": "2_view@2"
12641264
},
12651265
{
@@ -1304,17 +1304,17 @@
13041304
},
13051305
{
13061306
"command": "git.revealFileInOS.linux",
1307-
"when": "scmProvider == git && scmResourceGroup == index && resourceScheme == file && isLinux",
1307+
"when": "scmProvider == git && scmResourceGroup == index && remoteName == '' && isLinux",
13081308
"group": "2_view@2"
13091309
},
13101310
{
13111311
"command": "git.revealFileInOS.mac",
1312-
"when": "scmProvider == git && scmResourceGroup == index && resourceScheme == file && isMac",
1312+
"when": "scmProvider == git && scmResourceGroup == index && remoteName == '' && isMac",
13131313
"group": "2_view@2"
13141314
},
13151315
{
13161316
"command": "git.revealFileInOS.windows",
1317-
"when": "scmProvider == git && scmResourceGroup == index && resourceScheme == file && isWindows",
1317+
"when": "scmProvider == git && scmResourceGroup == index && remoteName == '' && isWindows",
13181318
"group": "2_view@2"
13191319
},
13201320
{
@@ -1384,17 +1384,17 @@
13841384
},
13851385
{
13861386
"command": "git.revealFileInOS.linux",
1387-
"when": "scmProvider == git && scmResourceGroup == workingTree && resourceScheme == file && isLinux",
1387+
"when": "scmProvider == git && scmResourceGroup == workingTree && remoteName == '' && isLinux",
13881388
"group": "2_view@2"
13891389
},
13901390
{
13911391
"command": "git.revealFileInOS.mac",
1392-
"when": "scmProvider == git && scmResourceGroup == workingTree && resourceScheme == file && isMac",
1392+
"when": "scmProvider == git && scmResourceGroup == workingTree && remoteName == '' && isMac",
13931393
"group": "2_view@2"
13941394
},
13951395
{
13961396
"command": "git.revealFileInOS.windows",
1397-
"when": "scmProvider == git && scmResourceGroup == workingTree && resourceScheme == file && isWindows",
1397+
"when": "scmProvider == git && scmResourceGroup == workingTree && remoteName == '' && isWindows",
13981398
"group": "2_view@2"
13991399
},
14001400
{

0 commit comments

Comments
 (0)