X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin%2Flog.c;h=eaa1ee0fa71a344af747dec038c6a5907c8273a5;hb=385cc9d8c44eb5be9d57e630129752a72c0a08c8;hp=08b872263cd646ec9d7dc8ad91273c71b1af2b69;hpb=1c80c9b2cb5ae0d8c77f3c73730225ca19aeef4a;p=git.git diff --git a/builtin/log.c b/builtin/log.c index 08b872263..eaa1ee0fa 100644 --- a/builtin/log.c +++ b/builtin/log.c @@ -125,6 +125,7 @@ static void cmd_log_init(int argc, const char **argv, const char *prefix, rev->show_decorations = 1; load_ref_decorations(decoration_style); } + setup_pager(); } /* @@ -491,12 +492,6 @@ int cmd_log_reflog(int argc, const char **argv, const char *prefix) rev.use_terminator = 1; rev.always_show_header = 1; - /* - * We get called through "git reflog", so unlike the other log - * routines, we need to set up our pager manually.. - */ - setup_pager(); - return cmd_log_walk(&rev); }