author | Lars Hjemli <hjemli@gmail.com> | 2009-08-24 06:53:21 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2009-08-24 08:22:59 (UTC) |
commit | 2273c2c821bfc77d492d7e97ae38f162d7fc91aa (patch) (unidiff) | |
tree | 688acf38d828122c86af88585cd89dbf23efc239 /cgit.h | |
parent | 007df98d2114fac4e9134cd7bc7e2960d0d730b4 (diff) | |
download | cgit-2273c2c821bfc77d492d7e97ae38f162d7fc91aa.zip cgit-2273c2c821bfc77d492d7e97ae38f162d7fc91aa.tar.gz cgit-2273c2c821bfc77d492d7e97ae38f162d7fc91aa.tar.bz2 |
Add config option 'enable-filter-overrides'
This option must be enabled if repo-specific cgitrc files should be
allowed to override any of the 'filter' options.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -153,48 +153,49 @@ struct cgit_config { | |||
153 | char *favicon; | 153 | char *favicon; |
154 | char *footer; | 154 | char *footer; |
155 | char *head_include; | 155 | char *head_include; |
156 | char *header; | 156 | char *header; |
157 | char *index_header; | 157 | char *index_header; |
158 | char *index_info; | 158 | char *index_info; |
159 | char *logo; | 159 | char *logo; |
160 | char *logo_link; | 160 | char *logo_link; |
161 | char *module_link; | 161 | char *module_link; |
162 | char *robots; | 162 | char *robots; |
163 | char *root_title; | 163 | char *root_title; |
164 | char *root_desc; | 164 | char *root_desc; |
165 | char *root_readme; | 165 | char *root_readme; |
166 | char *script_name; | 166 | char *script_name; |
167 | char *section; | 167 | char *section; |
168 | char *virtual_root; | 168 | char *virtual_root; |
169 | int cache_size; | 169 | int cache_size; |
170 | int cache_dynamic_ttl; | 170 | int cache_dynamic_ttl; |
171 | int cache_max_create_time; | 171 | int cache_max_create_time; |
172 | int cache_repo_ttl; | 172 | int cache_repo_ttl; |
173 | int cache_root_ttl; | 173 | int cache_root_ttl; |
174 | int cache_scanrc_ttl; | 174 | int cache_scanrc_ttl; |
175 | int cache_static_ttl; | 175 | int cache_static_ttl; |
176 | int embedded; | 176 | int embedded; |
177 | int enable_filter_overrides; | ||
177 | int enable_index_links; | 178 | int enable_index_links; |
178 | int enable_log_filecount; | 179 | int enable_log_filecount; |
179 | int enable_log_linecount; | 180 | int enable_log_linecount; |
180 | int local_time; | 181 | int local_time; |
181 | int max_repo_count; | 182 | int max_repo_count; |
182 | int max_commit_count; | 183 | int max_commit_count; |
183 | int max_lock_attempts; | 184 | int max_lock_attempts; |
184 | int max_msg_len; | 185 | int max_msg_len; |
185 | int max_repodesc_len; | 186 | int max_repodesc_len; |
186 | int max_stats; | 187 | int max_stats; |
187 | int nocache; | 188 | int nocache; |
188 | int noplainemail; | 189 | int noplainemail; |
189 | int noheader; | 190 | int noheader; |
190 | int renamelimit; | 191 | int renamelimit; |
191 | int snapshots; | 192 | int snapshots; |
192 | int summary_branches; | 193 | int summary_branches; |
193 | int summary_log; | 194 | int summary_log; |
194 | int summary_tags; | 195 | int summary_tags; |
195 | struct string_list mimetypes; | 196 | struct string_list mimetypes; |
196 | struct cgit_filter *about_filter; | 197 | struct cgit_filter *about_filter; |
197 | struct cgit_filter *commit_filter; | 198 | struct cgit_filter *commit_filter; |
198 | struct cgit_filter *source_filter; | 199 | struct cgit_filter *source_filter; |
199 | }; | 200 | }; |
200 | 201 | ||