diff options
author | Ondrej Jirman | 2007-05-26 03:26:14 +0200 |
---|---|---|
committer | Lars Hjemli | 2007-05-31 10:24:37 +0200 |
commit | a922615dae5d1f7b932dd1fc5a5f121748d96c5a (patch) | |
tree | 05fec55980234a64658f6612499212f923206d29 /cgit.c | |
parent | Handle single-line and empty commit subjects (diff) | |
download | cgit-a922615dae5d1f7b932dd1fc5a5f121748d96c5a.tar.gz cgit-a922615dae5d1f7b932dd1fc5a5f121748d96c5a.zip |
Add option to disable pager to cgit_print_log().
This is needed for upcomming shortlog on summary page patch. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.c')
-rw-r--r-- | cgit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cgit.c b/cgit.c index e5d8fbd..34e590e 100644 --- a/cgit.c +++ b/cgit.c | |||
@@ -94,7 +94,7 @@ static void cgit_print_repo_page(struct cacheitem *item) | |||
94 | case CMD_LOG: | 94 | case CMD_LOG: |
95 | cgit_print_log(cgit_query_head, cgit_query_ofs, | 95 | cgit_print_log(cgit_query_head, cgit_query_ofs, |
96 | cgit_max_commit_count, cgit_query_search, | 96 | cgit_max_commit_count, cgit_query_search, |
97 | cgit_query_path); | 97 | cgit_query_path, 1); |
98 | break; | 98 | break; |
99 | case CMD_TREE: | 99 | case CMD_TREE: |
100 | cgit_print_tree(cgit_query_head, cgit_query_sha1, cgit_query_path); | 100 | cgit_print_tree(cgit_query_head, cgit_query_sha1, cgit_query_path); |