|
1194 | 1194 | { |
1195 | 1195 | "command": "git.openFile", |
1196 | 1196 | "group": "navigation", |
1197 | | - "when": "config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^gitfs$|^file$/" |
| 1197 | + "when": "config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^git$|^file$/" |
1198 | 1198 | }, |
1199 | 1199 | { |
1200 | 1200 | "command": "git.openChange", |
|
1204 | 1204 | { |
1205 | 1205 | "command": "git.stageSelectedRanges", |
1206 | 1206 | "group": "2_git@1", |
1207 | | - "when": "config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^gitfs$|^file$/" |
| 1207 | + "when": "config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^git$|^file$/" |
1208 | 1208 | }, |
1209 | 1209 | { |
1210 | 1210 | "command": "git.unstageSelectedRanges", |
1211 | 1211 | "group": "2_git@2", |
1212 | | - "when": "config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^gitfs$|^file$/" |
| 1212 | + "when": "config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^git$|^file$/" |
1213 | 1213 | }, |
1214 | 1214 | { |
1215 | 1215 | "command": "git.revertSelectedRanges", |
1216 | 1216 | "group": "2_git@3", |
1217 | | - "when": "config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^gitfs$|^file$/" |
| 1217 | + "when": "config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^git$|^file$/" |
1218 | 1218 | } |
1219 | 1219 | ], |
1220 | 1220 | "editor/context": [ |
1221 | 1221 | { |
1222 | 1222 | "command": "git.stageSelectedRanges", |
1223 | 1223 | "group": "2_git@1", |
1224 | | - "when": "isInDiffRightEditor && config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^gitfs$|^file$/" |
| 1224 | + "when": "isInDiffRightEditor && config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^git$|^file$/" |
1225 | 1225 | }, |
1226 | 1226 | { |
1227 | 1227 | "command": "git.unstageSelectedRanges", |
1228 | 1228 | "group": "2_git@2", |
1229 | | - "when": "isInDiffRightEditor && config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^gitfs$|^file$/" |
| 1229 | + "when": "isInDiffRightEditor && config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^git$|^file$/" |
1230 | 1230 | }, |
1231 | 1231 | { |
1232 | 1232 | "command": "git.revertSelectedRanges", |
1233 | 1233 | "group": "2_git@3", |
1234 | | - "when": "isInDiffRightEditor && config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^gitfs$|^file$/" |
| 1234 | + "when": "isInDiffRightEditor && config.git.enabled && gitOpenRepositoryCount != 0 && isInDiffEditor && resourceScheme =~ /^git$|^file$/" |
1235 | 1235 | } |
1236 | 1236 | ], |
1237 | 1237 | "scm/change/title": [ |
1238 | 1238 | { |
1239 | 1239 | "command": "git.stageChange", |
1240 | | - "when": "originalResourceScheme == gitfs" |
| 1240 | + "when": "originalResourceScheme == git" |
1241 | 1241 | }, |
1242 | 1242 | { |
1243 | 1243 | "command": "git.revertChange", |
1244 | | - "when": "originalResourceScheme == gitfs" |
| 1244 | + "when": "originalResourceScheme == git" |
1245 | 1245 | } |
1246 | 1246 | ] |
1247 | 1247 | }, |
|
0 commit comments