Paginate :Git whatchanged

This commit is contained in:
Tim Pope
2021-03-21 10:12:57 -04:00
parent 4e285c8137
commit a55d6f39c8

View File

@@ -2544,7 +2544,7 @@ function! fugitive#PagerFor(argv, ...) abort
return 0
elseif type(value) == type('')
return value
elseif args[0] =~# 'diff\%(tool\)\@!\|log\|^show$\|^config$\|^branch$\|^tag$' ||
elseif args[0] =~# 'diff\%(tool\)\@!\|log\|^show$\|^config$\|^branch$\|^tag$\|^whatchanged$' ||
\ (args[0] ==# 'stash' && get(args, 1, '') ==# 'show') ||
\ (args[0] ==# 'am' && s:HasOpt(args, '--show-current-patch'))
return 1