diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-11-28 04:41:49 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-11-28 04:41:50 (GMT) |
commit | 3b49e1b0e900a88cab9e1b035dac83c0dd6ae2b3 (patch) | |
tree | 31a86627d257322a94ef0e3977fb5b89b18477c6 /Documentation | |
parent | 16169285f1e63f6a3d9ec10e48f55d6825d3156b (diff) | |
parent | 0ae19de74f6f5d6c6f9c80899e1ecd611c5b9827 (diff) | |
download | git-3b49e1b0e900a88cab9e1b035dac83c0dd6ae2b3.zip git-3b49e1b0e900a88cab9e1b035dac83c0dd6ae2b3.tar.gz git-3b49e1b0e900a88cab9e1b035dac83c0dd6ae2b3.tar.bz2 |
Merge branch 'ma/branch-list-paginate'
"git branch --list" learned to show its output through the pager by
default when the output is going to a terminal, which is controlled
by the pager.branch configuration variable. This is similar to a
recent change to "git tag --list".
* ma/branch-list-paginate:
branch: change default of `pager.branch` to "on"
branch: respect `pager.branch` in list-mode only
t7006: add tests for how git branch paginates
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-branch.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt index d6587c5..520c53b 100644 --- a/Documentation/git-branch.txt +++ b/Documentation/git-branch.txt @@ -281,6 +281,12 @@ start-point is either a local or remote-tracking branch. and the object it points at. The format is the same as that of linkgit:git-for-each-ref[1]. +CONFIGURATION +------------- +`pager.branch` is only respected when listing branches, i.e., when +`--list` is used or implied. The default is to use a pager. +See linkgit:git-config[1]. + Examples -------- |