-rw-r--r-- | cgit.c | 2 | ||||
-rw-r--r-- | cgit.h | 2 | ||||
-rw-r--r-- | ui-log.c | 4 |
3 files changed, 5 insertions, 3 deletions
@@ -96,3 +96,3 @@ static void cgit_print_repo_page(struct cacheitem *item) cgit_max_commit_count, cgit_query_search, - cgit_query_path); + cgit_query_path, 1); break; @@ -215,3 +215,3 @@ extern void cgit_print_repolist(struct cacheitem *item); extern void cgit_print_summary(); -extern void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *path); +extern void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *path, int pager); extern void cgit_print_view(const char *hex, char *path); @@ -56,3 +56,3 @@ void print_commit(struct commit *commit) -void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *path) +void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *path, int pager) { @@ -112,2 +112,3 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *path) + if (pager) { html("<div class='pager'>"); @@ -128 +129,2 @@ void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *path) } +} |