summaryrefslogtreecommitdiffabout
path: root/cgit.h
authorJason A. Donenfeld <Jason@zx2c4.com>2010-07-29 18:38:01 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2010-08-04 01:09:32 (UTC)
commit119397b175874bd606952e93b7249ae4ffb9afbe (patch) (unidiff)
tree98f6a7d5661a52120c11088ee474a2a5d7449f60 /cgit.h
parent2e4a941626c240bc7858aa7564882c01f657f4e8 (diff)
downloadcgit-119397b175874bd606952e93b7249ae4ffb9afbe.zip
cgit-119397b175874bd606952e93b7249ae4ffb9afbe.tar.gz
cgit-119397b175874bd606952e93b7249ae4ffb9afbe.tar.bz2
Add support for 'enable-gitweb-owner' option
When this option is enabled (which it is by default), cgit will lookup the 'gitweb.owner' setting in each git config file found when processing the 'scan-path' option. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.h') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index ada8535..232099d 100644
--- a/cgit.h
+++ b/cgit.h
@@ -154,64 +154,65 @@ struct cgit_query {
154 154
155struct cgit_config { 155struct cgit_config {
156 char *agefile; 156 char *agefile;
157 char *cache_root; 157 char *cache_root;
158 char *clone_prefix; 158 char *clone_prefix;
159 char *css; 159 char *css;
160 char *favicon; 160 char *favicon;
161 char *footer; 161 char *footer;
162 char *head_include; 162 char *head_include;
163 char *header; 163 char *header;
164 char *index_header; 164 char *index_header;
165 char *index_info; 165 char *index_info;
166 char *logo; 166 char *logo;
167 char *logo_link; 167 char *logo_link;
168 char *module_link; 168 char *module_link;
169 char *project_list; 169 char *project_list;
170 char *robots; 170 char *robots;
171 char *root_title; 171 char *root_title;
172 char *root_desc; 172 char *root_desc;
173 char *root_readme; 173 char *root_readme;
174 char *script_name; 174 char *script_name;
175 char *section; 175 char *section;
176 char *virtual_root; 176 char *virtual_root;
177 int cache_size; 177 int cache_size;
178 int cache_dynamic_ttl; 178 int cache_dynamic_ttl;
179 int cache_max_create_time; 179 int cache_max_create_time;
180 int cache_repo_ttl; 180 int cache_repo_ttl;
181 int cache_root_ttl; 181 int cache_root_ttl;
182 int cache_scanrc_ttl; 182 int cache_scanrc_ttl;
183 int cache_static_ttl; 183 int cache_static_ttl;
184 int embedded; 184 int embedded;
185 int enable_filter_overrides; 185 int enable_filter_overrides;
186 int enable_gitweb_owner;
186 int enable_index_links; 187 int enable_index_links;
187 int enable_log_filecount; 188 int enable_log_filecount;
188 int enable_log_linecount; 189 int enable_log_linecount;
189 int enable_remote_branches; 190 int enable_remote_branches;
190 int enable_subject_links; 191 int enable_subject_links;
191 int enable_tree_linenumbers; 192 int enable_tree_linenumbers;
192 int local_time; 193 int local_time;
193 int max_atom_items; 194 int max_atom_items;
194 int max_repo_count; 195 int max_repo_count;
195 int max_commit_count; 196 int max_commit_count;
196 int max_lock_attempts; 197 int max_lock_attempts;
197 int max_msg_len; 198 int max_msg_len;
198 int max_repodesc_len; 199 int max_repodesc_len;
199 int max_blob_size; 200 int max_blob_size;
200 int max_stats; 201 int max_stats;
201 int nocache; 202 int nocache;
202 int noplainemail; 203 int noplainemail;
203 int noheader; 204 int noheader;
204 int renamelimit; 205 int renamelimit;
205 int remove_suffix; 206 int remove_suffix;
206 int snapshots; 207 int snapshots;
207 int summary_branches; 208 int summary_branches;
208 int summary_log; 209 int summary_log;
209 int summary_tags; 210 int summary_tags;
210 int ssdiff; 211 int ssdiff;
211 struct string_list mimetypes; 212 struct string_list mimetypes;
212 struct cgit_filter *about_filter; 213 struct cgit_filter *about_filter;
213 struct cgit_filter *commit_filter; 214 struct cgit_filter *commit_filter;
214 struct cgit_filter *source_filter; 215 struct cgit_filter *source_filter;
215}; 216};
216 217
217struct cgit_page { 218struct cgit_page {