summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorMartin Ågren <martin.agren@gmail.com>2017-11-19 15:03:50 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-11-20 00:50:25 (GMT)
commit0ae19de74f6f5d6c6f9c80899e1ecd611c5b9827 (patch)
treee769eb86928cc201ad2cc5c116f14ec8398228ff /builtin
parentd74b541e0b40be0bf35e836bd8c6cbf653283d4b (diff)
downloadgit-0ae19de74f6f5d6c6f9c80899e1ecd611c5b9827.zip
git-0ae19de74f6f5d6c6f9c80899e1ecd611c5b9827.tar.gz
git-0ae19de74f6f5d6c6f9c80899e1ecd611c5b9827.tar.bz2
branch: change default of `pager.branch` to "on"
This is similar to ff1e72483 (tag: change default of `pager.tag` to "on", 2017-08-02) and is safe now that we do not consider `pager.branch` at all when we are not listing branches. This change will help with listing many branches, but will not hurt users of `git branch --edit-description` as it would have before the previous commit. Signed-off-by: Martin Ågren <martin.agren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r--builtin/branch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/branch.c b/builtin/branch.c
index 3eb31cd..39fa99b 100644
--- a/builtin/branch.c
+++ b/builtin/branch.c
@@ -649,7 +649,7 @@ int cmd_branch(int argc, const char **argv, const char *prefix)
}
if (list)
- setup_auto_pager("branch", 0);
+ setup_auto_pager("branch", 1);
if (delete) {
if (!argc)