progit / progit2

Pro Git 2nd Edition
Other
5.69k stars 1.88k forks source link

If you disable the pager, Git will still page the output? #1925

Closed wjandrea closed 5 months ago

wjandrea commented 5 months ago

Under core.pager, it talks about disabling the pager, but then it says Git will still page the output. Is that a typo? Should it say "Git will print" instead? Or maybe it's not clear what the word "page" means.

https://github.com/progit/progit2/blob/72e19595310d0e3b45b6257692c5297800fae06b/book/08-customizing-git/sections/config.asc?plain=1#L128-L132

For context, the full section:

##### `core.pager` This setting determines which pager is used when Git pages output such as `log` and `diff`. You can set it to `more` or to your favorite pager (by default, it's `less`), or you can turn it off by setting it to a blank string: ```text-shell-session $ git config --global core.pager '' ``` If you run that, Git will page the entire output of all commands, no matter how long they are.
hemu312 commented 5 months ago

Yes, you are right. I have already opened a PR to solve this issue.