|
|
@ -4508,6 +4508,17 @@ |
|
|
|
"group": "1_gitlens@1" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.push", |
|
|
|
"when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+current\\b)(?=.*?\\b\\+ahead\\b)/", |
|
|
|
"group": "inline@8", |
|
|
|
"alt": "gitlens.views.pushWithForce" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.pull", |
|
|
|
"when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+current\\b)(?=.*?\\b\\+behind\\b)/", |
|
|
|
"group": "inline@9" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.switchToBranch", |
|
|
|
"when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b/", |
|
|
|
"group": "inline@10" |
|
|
@ -4606,32 +4617,32 @@ |
|
|
|
{ |
|
|
|
"command": "gitlens.views.openDirectoryDiffWithWorking", |
|
|
|
"when": "viewItem =~ /gitlens:(branch|tag)\\b/", |
|
|
|
"group": "7_gitlens_more@2" |
|
|
|
"group": "7_gitlens_1@2" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.terminalCreateBranch", |
|
|
|
"when": "!gitlens:readonly && viewItem =~ /gitlens:(branch|commit|tag)\\b/", |
|
|
|
"group": "8_gitlens@5" |
|
|
|
"group": "8_gitlens_terminal@5" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.terminalDeleteBranch", |
|
|
|
"when": "!gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/", |
|
|
|
"group": "8_gitlens@6" |
|
|
|
"group": "8_gitlens_terminal@6" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.terminalCreateTag", |
|
|
|
"when": "!gitlens:readonly && viewItem =~ /gitlens:(branch|commit)\\b/", |
|
|
|
"group": "8_gitlens@7" |
|
|
|
"group": "8_gitlens_terminal@7" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.star", |
|
|
|
"when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+starred\\b)/", |
|
|
|
"group": "8_gitlens_@1" |
|
|
|
"group": "8_gitlens_98@1" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.unstar", |
|
|
|
"when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+starred\\b)/", |
|
|
|
"group": "8_gitlens_@1" |
|
|
|
"group": "8_gitlens_98@1" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.inviteToLiveShare", |
|
|
@ -4742,7 +4753,7 @@ |
|
|
|
{ |
|
|
|
"command": "gitlens.views.terminalPushCommit", |
|
|
|
"when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b(?=.*?\\b\\+current\\b)/", |
|
|
|
"group": "8_gitlens@2" |
|
|
|
"group": "8_gitlens_terminal@2" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.openFile", |
|
|
@ -4920,42 +4931,42 @@ |
|
|
|
{ |
|
|
|
"command": "gitlens.views.terminalRemoveRemote", |
|
|
|
"when": "!gitlens:readonly && viewItem =~ /gitlens:remote\\b/", |
|
|
|
"group": "8_gitlens@1" |
|
|
|
"group": "8_gitlens_terminal@1" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.setAsDefault", |
|
|
|
"when": "viewItem =~ /gitlens:remote\\b(?!.*?\\b\\+default\\b)/", |
|
|
|
"group": "8_gitlens_@1" |
|
|
|
"group": "8_gitlens_98@1" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.unsetAsDefault", |
|
|
|
"when": "viewItem =~ /gitlens:remote\\b(?=.*?\\b\\+default\\b)/", |
|
|
|
"group": "8_gitlens_@1" |
|
|
|
"group": "8_gitlens_98@1" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.exploreRepoAtRevision", |
|
|
|
"when": "viewItem =~ /gitlens:(branch|commit|file\\b((?=.*?\\b\\+committed\\b)|:results)|stash|tag)\\b/", |
|
|
|
"group": "7_gitlens_more@1" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.showCommitSearch", |
|
|
|
"when": "viewItem =~ /gitlens:repository\\b/", |
|
|
|
"group": "inline@10" |
|
|
|
"group": "7_gitlens_1@1" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.push", |
|
|
|
"when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/", |
|
|
|
"group": "inline@96", |
|
|
|
"group": "inline@95", |
|
|
|
"alt": "gitlens.views.pushWithForce" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.pull", |
|
|
|
"when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/", |
|
|
|
"group": "inline@97" |
|
|
|
"group": "inline@96" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.fetch", |
|
|
|
"when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:repository\\b/", |
|
|
|
"group": "inline@97" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.showCommitSearch", |
|
|
|
"when": "viewItem =~ /gitlens:repository\\b/", |
|
|
|
"group": "inline@98" |
|
|
|
}, |
|
|
|
{ |
|
|
@ -5016,22 +5027,28 @@ |
|
|
|
{ |
|
|
|
"command": "gitlens.views.star", |
|
|
|
"when": "viewItem =~ /gitlens:repository\\b(?!.*?\\b\\+starred\\b)/", |
|
|
|
"group": "8_gitlens@1" |
|
|
|
"group": "8_gitlens_98@1" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.unstar", |
|
|
|
"when": "viewItem =~ /gitlens:repository\\b(?=.*?\\b\\+starred\\b)/", |
|
|
|
"group": "8_gitlens@1" |
|
|
|
"group": "8_gitlens_98@1" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.closeRepository", |
|
|
|
"when": "viewItem =~ /gitlens:repository\\b/", |
|
|
|
"group": "8_gitlens@2" |
|
|
|
"group": "8_gitlens_98@2" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.push", |
|
|
|
"when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:ahead", |
|
|
|
"group": "inline@1", |
|
|
|
"alt": "gitlens.views.pushWithForce" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.pull", |
|
|
|
"when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:behind", |
|
|
|
"group": "inline@1" |
|
|
|
"group": "inline@2" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.pull", |
|
|
@ -5041,12 +5058,6 @@ |
|
|
|
{ |
|
|
|
"command": "gitlens.views.push", |
|
|
|
"when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:ahead", |
|
|
|
"group": "inline@1", |
|
|
|
"alt": "gitlens.views.pushWithForce" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.push", |
|
|
|
"when": "gitlens:hasRemotes && !gitlens:readonly && viewItem == gitlens:status:upstream:ahead", |
|
|
|
"group": "1_gitlens@1" |
|
|
|
}, |
|
|
|
{ |
|
|
@ -5227,7 +5238,7 @@ |
|
|
|
{ |
|
|
|
"command": "gitlens.views.terminalDeleteTag", |
|
|
|
"when": "!gitlens:readonly && viewItem == gitlens:tag", |
|
|
|
"group": "8_gitlens" |
|
|
|
"group": "8_gitlens_terminal" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.stageDirectory", |
|
|
@ -5250,14 +5261,14 @@ |
|
|
|
"group": "1_gitlens@2" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.expandNode", |
|
|
|
"when": "viewItem =~ /gitlens:(compare|folder|results|search|status)\\b/", |
|
|
|
"group": "8_gitlens@1" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.dismissNode", |
|
|
|
"when": "viewItem =~ /gitlens:(compare:picker:ref|compare:results\\b(?!.*?\\b\\+pinned\\b)|search)\\b(?!:(commits|files))/", |
|
|
|
"group": "8_gitlens@2" |
|
|
|
"group": "8_gitlens_99@98" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.expandNode", |
|
|
|
"when": "viewItem =~ /gitlens:(branch|compare|folder|results|search|status)\\b/", |
|
|
|
"group": "8_gitlens_99@99" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"command": "gitlens.views.refreshNode", |
|
|
|