paginate git-diff by default
This commit is contained in:
parent
4e27fb06f0
commit
e88ee29154
2
git.c
2
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 },
|
{ "check-ref-format", cmd_check_ref_format },
|
||||||
{ "commit-tree", cmd_commit_tree, RUN_SETUP },
|
{ "commit-tree", cmd_commit_tree, RUN_SETUP },
|
||||||
{ "count-objects", cmd_count_objects, 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-files", cmd_diff_files, RUN_SETUP },
|
||||||
{ "diff-index", cmd_diff_index, RUN_SETUP },
|
{ "diff-index", cmd_diff_index, RUN_SETUP },
|
||||||
{ "diff-stages", cmd_diff_stages, RUN_SETUP },
|
{ "diff-stages", cmd_diff_stages, RUN_SETUP },
|
||||||
|
Loading…
Reference in New Issue
Block a user