Skip to content

Commit

Permalink
Documentation: clarify pager.<cmd> configuration
Browse files Browse the repository at this point in the history
It was not obvious from the text that pager.<cmd> is a boolean
setting.

While we're changing the description, make some other
improvements: lest we forget and fret, clarify that -p and
pager.<cmd> do not kick in when stdout is not a tty; point to
related core.pager and GIT_PAGER settings; use renamed --paginate
option.

Signed-off-by: Jonathan Nieder <jrnieder@uchicago.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Jonathan Nieder authored and Junio C Hamano committed Aug 24, 2008
1 parent f5f7e4a commit 3281808
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Documentation/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -979,9 +979,11 @@ pack.packSizeLimit::
linkgit:git-repack[1].

pager.<cmd>::
Allows to set your own pager preferences for each command, overriding
the default. If `\--pager` or `\--no-pager` is specified on the command
line, it takes precedence over this option.
Allows turning on or off pagination of the output of a
particular git subcommand when writing to a tty. If
`\--paginate` or `\--no-pager` is specified on the command line,
it takes precedence over this option. To disable pagination for
all commands, set `core.pager` or 'GIT_PAGER' to "`cat`".

pull.octopus::
The default merge strategy to use when pulling multiple branches
Expand Down

0 comments on commit 3281808

Please sign in to comment.