From 24e596dc774a85d8dc95a0471d5731833b860cbc Mon Sep 17 00:00:00 2001 From: Dmitri Vereshchagin Date: Sat, 19 Jul 2025 18:25:01 +0300 Subject: [PATCH] Paginate rebase --show-current-patch --- autoload/fugitive.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 7f2f602675..7aa4643753 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