mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-11 12:53:52 -05:00
Don't run pre-commit hook on merge
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user