mirror of
https://github.com/kahole/edamagit.git
synced 2024-09-11 07:15:31 +03:00
fixup! adds no verify to merge commit
This commit is contained in:
parent
7c9edfecd1
commit
b968cfda62
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "magit",
|
||||
"version": "0.6.57",
|
||||
"version": "0.6.59",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "magit",
|
||||
"version": "0.6.57",
|
||||
"version": "0.6.59",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@vscode/iconv-lite-umd": "^0.7.0",
|
||||
|
@ -7,7 +7,7 @@
|
||||
"author": {
|
||||
"name": "Kristian Andersen Hole"
|
||||
},
|
||||
"version": "0.6.57",
|
||||
"version": "0.6.59",
|
||||
"engines": {
|
||||
"vscode": "^1.50.0"
|
||||
},
|
||||
|
@ -29,16 +29,16 @@ export async function merging(repository: MagitRepository) {
|
||||
const switches = [
|
||||
{ key: '-f', name: '--ff-only', description: 'Fast-forward only' },
|
||||
{ key: '-n', name: '--no-ff', description: 'No fast-forward' },
|
||||
{ key: '-n', name: '--no-verify', description: 'Disable hooks' },
|
||||
{ key: '-v', name: '--no-verify', description: 'Disable hooks' },
|
||||
];
|
||||
const whileMergingSwitches = [
|
||||
{ key: '-n', name: '--no-verify', description: 'Disable hooks' },
|
||||
];
|
||||
|
||||
if (repository.mergingState) {
|
||||
return MenuUtil.showMenu(whileMergingMenu, { repository, switches });
|
||||
return MenuUtil.showMenu(whileMergingMenu, { repository, switches: whileMergingSwitches });
|
||||
} else {
|
||||
return MenuUtil.showMenu(mergingMenu, { repository, switches: whileMergingSwitches });
|
||||
return MenuUtil.showMenu(mergingMenu, { repository, switches });
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user