summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorLibravatar Martin Waitz <tali@admingilde.org>2006-10-10 21:16:25 +0200
committerLibravatar Junio C Hamano <junkio@cox.net>2006-10-10 17:58:34 -0700
commite88ee2915493213ea0d0be64c542c090fefd4b33 (patch)
tree73765d7d8be224a021e21218f822769d585b5223 /git.c
parentadd commit count options to git-shortlog (diff)
downloadtgif-e88ee2915493213ea0d0be64c542c090fefd4b33.tar.xz
paginate git-diff by default
Diffstat (limited to 'git.c')
-rw-r--r--git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.c b/git.c
index d7103a4086..e089b53571 100644
--- a/git.c
+++ b/git.c
@@ -226,7 +226,7 @@ static void handle_internal_command(int argc, const char **argv, char **envp)
{ "check-ref-format", cmd_check_ref_format },
{ "commit-tree", cmd_commit_tree, RUN_SETUP },
{ "count-objects", cmd_count_objects, RUN_SETUP },
- { "diff", cmd_diff, RUN_SETUP },
+ { "diff", cmd_diff, RUN_SETUP | USE_PAGER },
{ "diff-files", cmd_diff_files, RUN_SETUP },
{ "diff-index", cmd_diff_index, RUN_SETUP },
{ "diff-stages", cmd_diff_stages, RUN_SETUP },