make "git --pager/--nopager" work as intended
- From
- Harald Dunkel <harri@afaics.de>
- Date
- Jan 22, 2026, 09:37 UTC
- Message-ID
- <87o6mm2djm.fsf@tweety.afaics.de>
Hi folks,
maybe its neurological, but the current behavior of "git -p" vs "git -P" makes me feel uneasy. Some commands (like git diff) use a pager by default, some ues it even without need (git branch), others don't. For every other git command I run I have the feeling git output is not working as intended.
Setting core.pager to "cat" is not a solution. It breaks git -p.
Regards Harri