Don't run pre-commit hook on merge
This commit is contained in:
parent
11f89ba749
commit
9af975c82c
@ -1165,7 +1165,7 @@ function! s:Merge(cmd, bang, args) abort
|
|||||||
if empty(filter(getqflist(),'v:val.valid'))
|
if empty(filter(getqflist(),'v:val.valid'))
|
||||||
if !had_merge_msg && filereadable(s:repo().dir('MERGE_MSG'))
|
if !had_merge_msg && filereadable(s:repo().dir('MERGE_MSG'))
|
||||||
cclose
|
cclose
|
||||||
return 'Gcommit --no-status -t '.s:shellesc(s:repo().dir('MERGE_MSG'))
|
return 'Gcommit --no-status -n -t '.s:shellesc(s:repo().dir('MERGE_MSG'))
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
let qflist = getqflist()
|
let qflist = getqflist()
|
||||||
|
Loading…
Reference in New Issue
Block a user