aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.h
diff options
context:
space:
mode:
authorLars Hjemli2008-05-03 10:54:39 +0200
committerLars Hjemli2008-05-03 10:54:39 +0200
commitc6078b8b006bcb0671a3c1bc21dd1a2c01035a2e (patch)
tree0ca48d3ac455a7aecd30590ed71703ba5b34c4f1 /cgit.h
parent141f1c3eb657470e81bbf998f44f9723f9009def (diff)
downloadcgit-c6078b8b006bcb0671a3c1bc21dd1a2c01035a2e.tar.gz
cgit-c6078b8b006bcb0671a3c1bc21dd1a2c01035a2e.tar.bz2
cgit-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 'cgit.h')
-rw-r--r--cgit.h1
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 {
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;