aboutsummaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorMartin Waitz <tali@admingilde.org>2006-10-10 21:16:25 +0200
committerJunio C Hamano <junkio@cox.net>2006-10-10 17:58:34 -0700
commite88ee2915493213ea0d0be64c542c090fefd4b33 (patch)
tree73765d7d8be224a021e21218f822769d585b5223 /git.c
parent4e27fb06f0fe4206606172f94a18e08d7d87c070 (diff)
downloadgit-e88ee2915493213ea0d0be64c542c090fefd4b33.tar.gz
git-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 d7103a408..e089b5357 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 },