Re: [PATCH 5/5] add-patch: render hunks through the pager
- From
Rubén Justo <rjusto@gmail.com>
- Date
- May 20, 2024, 22:35 UTC
- Message-ID
- <83071f70-e8a1-41d6-9fb1-108a31602baa@gmail.com>
- In-Reply-To
- <ec5d73e22a6e4587f3d87314a9c0e422@manjaro.org>
On Mon, May 20, 2024 at 09:45:51PM +0200, Dragan Simic wrote:
Show 6 quoted lines
> Thus, if someone wants to have a complete longer-than-one-screen hunk > displayed and use the terminal emulator scrollback to inspect the > hunk in its entirety, passing such (or all) hunks through the pager > would make such inspection impossible. I'd assume that at least some > Git users already do that (I do, for example), and we surely don't want > to make that no longer possible.
I'm not sure if I understand the problem... disabling the pager is still an option, no?
$ git -P add -p
$ git -c pager.add=false add -p