Skip to content

Commit

Permalink
config.txt: move pager.* to a separate file
Browse files Browse the repository at this point in the history
Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
pclouds authored and gitster committed Oct 29, 2018
1 parent a168c5a commit 87e1b41
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
9 changes: 1 addition & 8 deletions Documentation/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -379,14 +379,7 @@ include::config/notes.txt[]

include::config/pack.txt[]

pager.<cmd>::
If the value is boolean, turns on or off pagination of the
output of a particular Git subcommand when writing to a tty.
Otherwise, turns on pagination for the subcommand using the
pager specified by the value of `pager.<cmd>`. 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`.
include::config/pager.txt[]

pretty.<name>::
Alias for a --pretty= format string, as specified in
Expand Down
8 changes: 8 additions & 0 deletions Documentation/config/pager.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
pager.<cmd>::
If the value is boolean, turns on or off pagination of the
output of a particular Git subcommand when writing to a tty.
Otherwise, turns on pagination for the subcommand using the
pager specified by the value of `pager.<cmd>`. 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`.

0 comments on commit 87e1b41

Please sign in to comment.