git/list[1] front-page[2] threads[3] people[4] search[5] about
 

make "git --pager/--nopager" work as intended

From
HDHarald 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

Next: Junio C Hamano
Message 1 of 2 in “make "git --pager/--nopager" work as intended”
  1. Harald DunkelJan 22, 2026
  2. Junio C HamanoJan 22, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.