Browse Source

config.txt: move pager.* to a separate file

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Nguyễn Thái Ngọc Duy 6 years ago committed by Junio C Hamano
parent
commit
87e1b41a30
  1. 9
      Documentation/config.txt
  2. 8
      Documentation/config/pager.txt

9
Documentation/config.txt

@ -379,14 +379,7 @@ include::config/notes.txt[] @@ -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

8
Documentation/config/pager.txt

@ -0,0 +1,8 @@ @@ -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`.
Loading…
Cancel
Save