diff options
author | Lars Hjemli <hjemli@gmail.com> | 2008-05-03 10:54:39 +0200 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-05-03 10:54:39 +0200 |
commit | c6078b8b006bcb0671a3c1bc21dd1a2c01035a2e (patch) | |
tree | 0ca48d3ac455a7aecd30590ed71703ba5b34c4f1 /cgit.h | |
parent | Add cgit_index_link() function with support for offset (diff) | |
download | cgit-pink-c6078b8b006bcb0671a3c1bc21dd1a2c01035a2e.tar.gz cgit-pink-c6078b8b006bcb0671a3c1bc21dd1a2c01035a2e.zip |
Add a pager on the repolist
This enables a pager on the repolist which restricts the number of entries displayed per page, controlled by the new option `max-repo-count` (default value 50). Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '')
-rw-r--r-- | cgit.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h index bbb404e..4fa5cf2 100644 --- a/cgit.h +++ b/cgit.h @@ -145,6 +145,7 @@ struct cgit_config { int enable_index_links; int enable_log_filecount; int enable_log_linecount; + int max_repo_count; int max_commit_count; int max_lock_attempts; int max_msg_len; |