motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit 44ade58ed509f7b21608ae061223d4ffef1e19d8 (tree)
parent 881d72f1af0009838e375178ada7da7e34067f59
Author: Tim Pope <code@tpope.net>
Date:   Tue, 30 Jul 2019 13:04:39 -0400

Always use :terminal for :Git --paginate

References https://github.com/tpope/vim-fugitive/issues/1294

Diffstat:
Mautoload/fugitive.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -2093,7 +2093,7 @@ function! s:GitExec(line1, line2, range, count, bang, mods, reg, args, dir) abor let git = s:UserCommandList(a:dir) if s:HasOpt(a:args, ['add', 'checkout', 'commit', 'stage', 'stash', 'reset'], '-p', '--patch') || \ s:HasOpt(a:args, ['add', 'clean', 'stage'], '-i', '--interactive') || - \ index(['fetch', 'pull', 'push'], a:args[0]) >= 0 + \ index(['fetch', 'pull', 'push', '--paginate', '-p'], a:args[0]) >= 0 let mods = substitute(s:Mods(a:mods), '\<tab\>', '-tab', 'g') if has('nvim') if &autowrite || &autowriteall | silent! wall | endif