Implements commands to recompute merge with git merge-file

This commit is contained in:
Henning Dieterichs
2022-08-26 12:01:47 +02:00
parent 16536c25a1
commit 7688a40249
5 changed files with 92 additions and 1 deletions

View File

@@ -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",