mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
Implements commands to recompute merge with git merge-file
This commit is contained in:
@@ -609,6 +609,18 @@
|
||||
"command": "git.openMergeEditor",
|
||||
"title": "%command.git.openMergeEditor%",
|
||||
"category": "Git"
|
||||
},
|
||||
{
|
||||
"command": "git.runGitMerge",
|
||||
"title": "%command.git.runGitMerge%",
|
||||
"category": "Git",
|
||||
"enablement": "isMergeEditor"
|
||||
},
|
||||
{
|
||||
"command": "git.runGitMergeDiff3",
|
||||
"title": "%command.git.runGitMergeDiff3%",
|
||||
"category": "Git",
|
||||
"enablement": "isMergeEditor"
|
||||
}
|
||||
],
|
||||
"keybindings": [
|
||||
@@ -1568,6 +1580,16 @@
|
||||
"when": "config.git.enabled && !git.missing && !isInDiffEditor && !isMergeEditor && resource in git.mergeChanges"
|
||||
}
|
||||
],
|
||||
"mergeEditor/result/context": [
|
||||
{
|
||||
"command": "git.runGitMerge",
|
||||
"when": "isMergeEditor"
|
||||
},
|
||||
{
|
||||
"command": "git.runGitMergeDiff3",
|
||||
"when": "isMergeEditor"
|
||||
}
|
||||
],
|
||||
"scm/change/title": [
|
||||
{
|
||||
"command": "git.stageChange",
|
||||
|
||||
Reference in New Issue
Block a user