summaryrefslogtreecommitdiff
path: root/Documentation/config/pager.txt
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-10-27 08:23:23 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-10-29 10:17:03 +0900
commit87e1b41a304907d5f15310fd9174890a0a0901b0 (patch)
treeca39fb46f453aac21444c53cb4460580da8e41e6 /Documentation/config/pager.txt
parentconfig.txt: move pack.* to a separate file (diff)
downloadtgif-87e1b41a304907d5f15310fd9174890a0a0901b0.tar.xz
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>
Diffstat (limited to 'Documentation/config/pager.txt')
-rw-r--r--Documentation/config/pager.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/config/pager.txt b/Documentation/config/pager.txt
new file mode 100644
index 0000000000..d3731cf66c
--- /dev/null
+++ b/Documentation/config/pager.txt
@@ -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`.