From d99d645c8dabbfdc46760db39e358ddc5d454f6a Mon Sep 17 00:00:00 2001 From: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com> Date: Fri, 3 Jun 2022 18:43:42 +0200 Subject: [PATCH] Git - Switch to using the remoteName context key (#151212) Switch to using the remoteName context key --- extensions/git/package.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/extensions/git/package.json b/extensions/git/package.json index 312136a7d59..e2428b5e02f 100644 --- a/extensions/git/package.json +++ b/extensions/git/package.json @@ -1249,17 +1249,17 @@ }, { "command": "git.revealFileInOS.linux", - "when": "scmProvider == git && scmResourceGroup == merge && resourceScheme == file && isLinux", + "when": "scmProvider == git && scmResourceGroup == merge && remoteName == '' && isLinux", "group": "2_view@2" }, { "command": "git.revealFileInOS.mac", - "when": "scmProvider == git && scmResourceGroup == merge && resourceScheme == file && isMac", + "when": "scmProvider == git && scmResourceGroup == merge && remoteName == '' && isMac", "group": "2_view@2" }, { "command": "git.revealFileInOS.windows", - "when": "scmProvider == git && scmResourceGroup == merge && resourceScheme == file && isWindows", + "when": "scmProvider == git && scmResourceGroup == merge && remoteName == '' && isWindows", "group": "2_view@2" }, { @@ -1304,17 +1304,17 @@ }, { "command": "git.revealFileInOS.linux", - "when": "scmProvider == git && scmResourceGroup == index && resourceScheme == file && isLinux", + "when": "scmProvider == git && scmResourceGroup == index && remoteName == '' && isLinux", "group": "2_view@2" }, { "command": "git.revealFileInOS.mac", - "when": "scmProvider == git && scmResourceGroup == index && resourceScheme == file && isMac", + "when": "scmProvider == git && scmResourceGroup == index && remoteName == '' && isMac", "group": "2_view@2" }, { "command": "git.revealFileInOS.windows", - "when": "scmProvider == git && scmResourceGroup == index && resourceScheme == file && isWindows", + "when": "scmProvider == git && scmResourceGroup == index && remoteName == '' && isWindows", "group": "2_view@2" }, { @@ -1384,17 +1384,17 @@ }, { "command": "git.revealFileInOS.linux", - "when": "scmProvider == git && scmResourceGroup == workingTree && resourceScheme == file && isLinux", + "when": "scmProvider == git && scmResourceGroup == workingTree && remoteName == '' && isLinux", "group": "2_view@2" }, { "command": "git.revealFileInOS.mac", - "when": "scmProvider == git && scmResourceGroup == workingTree && resourceScheme == file && isMac", + "when": "scmProvider == git && scmResourceGroup == workingTree && remoteName == '' && isMac", "group": "2_view@2" }, { "command": "git.revealFileInOS.windows", - "when": "scmProvider == git && scmResourceGroup == workingTree && resourceScheme == file && isWindows", + "when": "scmProvider == git && scmResourceGroup == workingTree && remoteName == '' && isWindows", "group": "2_view@2" }, {