summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a055422)
raw | patch | inline | side by side (parent: a055422)
author | Mike Hommey <mh@glandium.org> | |
Sat, 3 Nov 2007 12:22:53 +0000 (13:22 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 4 Nov 2007 04:31:37 +0000 (21:31 -0700) |
This avoids to launch the pager when git blame fails for any reason.
Signed-off-by: Mike Hommey <mh@glandium.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Mike Hommey <mh@glandium.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-blame.c | patch | blob | history |
diff --git a/builtin-blame.c b/builtin-blame.c
index dc88a953a519e975f426f6158b73542a2ea120dd..e17b03d876a7da13ac4f01f50c2e0c459d3e9612 100644 (file)
--- a/builtin-blame.c
+++ b/builtin-blame.c
argv[unk++] = arg;
}
- if (!incremental)
- setup_pager();
-
if (!blame_move_score)
blame_move_score = BLAME_DEFAULT_MOVE_SCORE;
if (!blame_copy_score)
read_mailmap(&mailmap, ".mailmap", NULL);
+ if (!incremental)
+ setup_pager();
+
assign_blame(&sb, &revs, opt);
if (incremental)