diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 7f2f60267..7aa464375 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -3783,7 +3783,7 @@ function! fugitive#PagerFor(argv, ...) abort elseif args[0] =~# '^\%(branch\|config\|diff\|grep\|log\|range-diff\|shortlog\|show\|tag\|whatchanged\)$' || \ (args[0] ==# 'stash' && get(args, 1, '') ==# 'show') || \ (args[0] ==# 'reflog' && get(args, 1, '') !~# '^\%(expire\|delete\|exists\)$') || - \ (args[0] ==# 'am' && s:HasOpt(args, '--show-current-patch')) + \ (args[0] =~# '^\%(am\|rebase\)$' && s:HasOpt(args, '--show-current-patch')) return 1 else return 0