mirror of
https://github.com/kahole/edamagit.git
synced 2024-08-15 18:20:30 +03:00
adds no verify
switch to merging commands
This commit is contained in:
parent
3f66cd1cb5
commit
12617656c6
@ -1,3 +1,4 @@
|
||||
import * as Constants from '../common/constants';
|
||||
import { ViewColumn, window } from 'vscode';
|
||||
import { MenuState, MenuUtil } from '../menu/menu';
|
||||
import { PickMenuUtil } from '../menu/pickMenu';
|
||||
@ -195,7 +196,8 @@ async function _createBranch({ repository }: MenuState, checkout: boolean) {
|
||||
return gitRun(repository.gitRepository, args);
|
||||
|
||||
} else {
|
||||
throw new Error('No name given for new branch');
|
||||
|
||||
window.setStatusBarMessage('No name given for new branch', Constants.StatusMessageDisplayTimeout);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -29,6 +29,7 @@ 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' },
|
||||
];
|
||||
|
||||
if (repository.mergingState) {
|
||||
|
Loading…
Reference in New Issue
Block a user