mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-15 06:43:51 -05:00
Disable -- More -- prompt on push/fetch
These commands have slow, potentially verbose output, especially in the case where pushing triggers a real time deploy.
This commit is contained in:
@@ -3492,7 +3492,7 @@ function! fugitive#Command(line1, line2, range, bang, mods, arg) abort
|
||||
let args = s:AskPassArgs(dir) + args
|
||||
endif
|
||||
let tmp = {
|
||||
\ 'no_more': no_pager,
|
||||
\ 'no_more': no_pager || get(overrides, 'no_more'),
|
||||
\ 'line_count': 0,
|
||||
\ 'err': '',
|
||||
\ 'out': '',
|
||||
@@ -5980,6 +5980,14 @@ function! fugitive#FetchComplete(A, L, P, ...) abort
|
||||
return s:CompleteSub('fetch', a:A, a:L, a:P, function('s:CompleteRemote'), a:000)
|
||||
endfunction
|
||||
|
||||
function! s:PushSubcommand(...) abort
|
||||
return {'no_more': 1}
|
||||
endfunction
|
||||
|
||||
function! s:FetchSubcommand(...) abort
|
||||
return {'no_more': 1}
|
||||
endfunction
|
||||
|
||||
" Section: :Gdiff
|
||||
|
||||
augroup fugitive_diff
|
||||
|
||||
Reference in New Issue
Block a user