author | Lars Hjemli <hjemli@gmail.com> | 2008-05-03 08:54:39 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-05-03 08:54:39 (UTC) |
commit | c6078b8b006bcb0671a3c1bc21dd1a2c01035a2e (patch) (unidiff) | |
tree | 0ca48d3ac455a7aecd30590ed71703ba5b34c4f1 /cgit.h | |
parent | 141f1c3eb657470e81bbf998f44f9723f9009def (diff) | |
download | cgit-c6078b8b006bcb0671a3c1bc21dd1a2c01035a2e.zip cgit-c6078b8b006bcb0671a3c1bc21dd1a2c01035a2e.tar.gz cgit-c6078b8b006bcb0671a3c1bc21dd1a2c01035a2e.tar.bz2 |
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>
-rw-r--r-- | cgit.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -136,24 +136,25 @@ struct cgit_config { | |||
136 | char *root_readme; | 136 | char *root_readme; |
137 | char *script_name; | 137 | char *script_name; |
138 | char *virtual_root; | 138 | char *virtual_root; |
139 | int cache_size; | 139 | int cache_size; |
140 | int cache_dynamic_ttl; | 140 | int cache_dynamic_ttl; |
141 | int cache_max_create_time; | 141 | int cache_max_create_time; |
142 | int cache_repo_ttl; | 142 | int cache_repo_ttl; |
143 | int cache_root_ttl; | 143 | int cache_root_ttl; |
144 | int cache_static_ttl; | 144 | int cache_static_ttl; |
145 | int enable_index_links; | 145 | int enable_index_links; |
146 | int enable_log_filecount; | 146 | int enable_log_filecount; |
147 | int enable_log_linecount; | 147 | int enable_log_linecount; |
148 | int max_repo_count; | ||
148 | int max_commit_count; | 149 | int max_commit_count; |
149 | int max_lock_attempts; | 150 | int max_lock_attempts; |
150 | int max_msg_len; | 151 | int max_msg_len; |
151 | int max_repodesc_len; | 152 | int max_repodesc_len; |
152 | int nocache; | 153 | int nocache; |
153 | int renamelimit; | 154 | int renamelimit; |
154 | int snapshots; | 155 | int snapshots; |
155 | int summary_branches; | 156 | int summary_branches; |
156 | int summary_log; | 157 | int summary_log; |
157 | int summary_tags; | 158 | int summary_tags; |
158 | }; | 159 | }; |
159 | 160 | ||