branch: change default of `pager.branch` to "on"
[gitweb.git] / builtin / branch.c
index 8a0595e11587aeac0f784400c43609404da3e045..39fa99bba74d8e9b2528c9c4267d94a88ccc748c 100644 (file)
@@ -648,6 +648,9 @@ int cmd_branch(int argc, const char **argv, const char *prefix)
                rename *= 2;
        }
 
+       if (list)
+               setup_auto_pager("branch", 1);
+
        if (delete) {
                if (!argc)
                        die(_("branch name required"));