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>
This commit is contained in:
committed by
Junio C Hamano
parent
d74b541e0b
commit
0ae19de74f
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user