Code

annotate: use pager
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Wed, 24 Jan 2007 14:04:37 +0000 (15:04 +0100)
committerJunio C Hamano <junkio@cox.net>
Wed, 24 Jan 2007 23:08:31 +0000 (15:08 -0800)
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git.c

diff --git a/git.c b/git.c
index 72a1486f30a93c6822611c834a391bfc351c398f..530e99fe64a1f1ee6d22ad8cada2560e52270e09 100644 (file)
--- a/git.c
+++ b/git.c
@@ -214,7 +214,7 @@ static void handle_internal_command(int argc, const char **argv, char **envp)
                int option;
        } commands[] = {
                { "add", cmd_add, RUN_SETUP | NOT_BARE },
-               { "annotate", cmd_annotate, },
+               { "annotate", cmd_annotate, USE_PAGER },
                { "apply", cmd_apply },
                { "archive", cmd_archive },
                { "blame", cmd_blame, RUN_SETUP | USE_PAGER },