From 4f0219a4c76a2ce963cf355f90f18c9c59036bca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=1B=2CAi=1B=28B=20Scharfe?= Date: Sun, 28 Jan 2007 15:25:55 +0100 Subject: git-blame --incremental: don't use pager Starting a pager defeats the purpose of the incremental output mode. This changes git-blame to only paginate if --incremental was not given. git -p blame --incremental still starts the pager, though. Signed-off-by: Rene Scharfe Signed-off-by: Junio C Hamano --- builtin-blame.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'builtin-blame.c') diff --git a/builtin-blame.c b/builtin-blame.c index 7a58ee303f..02bda5e196 100644 --- a/builtin-blame.c +++ b/builtin-blame.c @@ -1780,6 +1780,9 @@ int cmd_blame(int argc, const char **argv, const char *prefix) argv[unk++] = arg; } + if (!incremental) + setup_pager(); + if (!blame_move_score) blame_move_score = BLAME_DEFAULT_MOVE_SCORE; if (!blame_copy_score) -- cgit v1.2.1