[PATCH 0/5] use the pager in 'add -p'
- From
Rubén Justo <rjusto@gmail.com>
- Date
- May 19, 2024, 07:06 UTC
- Message-ID
- <1d0cb55c-5f32-419a-b593-d5f0969a51fd@gmail.com>
Invoke the pager when displaying hunks during "add -p" sessions, to make it easier for the user to review hunks longer than one screen height.
Rubén Justo (5): add-patch: test for 'p' command pager: do not close fd 2 unnecessarily pager: introduce wait_for_pager test-terminal: introduce --no-stdin-pty add-patch: render hunks through the pager
add-patch.c | 3 +++ pager.c | 41 ++++++++++++++++++++++++++++++++------ pager.h | 1 + t/t3701-add-interactive.sh | 37 ++++++++++++++++++++++++++++++++++ t/test-terminal.perl | 32 ++++++++++++++++------------- 5 files changed, 94 insertions(+), 20 deletions(-)
-- 2.45.1.209.gd5886bf9cd