From: Martin Waitz Date: Tue, 10 Oct 2006 19:16:25 +0000 (+0200) Subject: paginate git-diff by default X-Git-Tag: v1.4.3-rc3~23 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e88ee2915493213ea0d0be64c542c090fefd4b33;p=git.git paginate git-diff by default --- 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 },