mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-16 07:13:52 -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
|
let args = s:AskPassArgs(dir) + args
|
||||||
endif
|
endif
|
||||||
let tmp = {
|
let tmp = {
|
||||||
\ 'no_more': no_pager,
|
\ 'no_more': no_pager || get(overrides, 'no_more'),
|
||||||
\ 'line_count': 0,
|
\ 'line_count': 0,
|
||||||
\ 'err': '',
|
\ 'err': '',
|
||||||
\ 'out': '',
|
\ '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)
|
return s:CompleteSub('fetch', a:A, a:L, a:P, function('s:CompleteRemote'), a:000)
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
function! s:PushSubcommand(...) abort
|
||||||
|
return {'no_more': 1}
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
function! s:FetchSubcommand(...) abort
|
||||||
|
return {'no_more': 1}
|
||||||
|
endfunction
|
||||||
|
|
||||||
" Section: :Gdiff
|
" Section: :Gdiff
|
||||||
|
|
||||||
augroup fugitive_diff
|
augroup fugitive_diff
|
||||||
|
|||||||
Reference in New Issue
Block a user