author | Jason A. Donenfeld <Jason@zx2c4.com> | 2010-07-29 17:47:50 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2010-08-04 01:09:32 (UTC) |
commit | 2e4a941626c240bc7858aa7564882c01f657f4e8 (patch) (unidiff) | |
tree | 505c17fab5afcb99cfddf2c4aad0b95c8670f001 /cgit.h | |
parent | 3516502aa0df95ecc241caa30161741f59e4e600 (diff) | |
download | cgit-2e4a941626c240bc7858aa7564882c01f657f4e8.zip cgit-2e4a941626c240bc7858aa7564882c01f657f4e8.tar.gz cgit-2e4a941626c240bc7858aa7564882c01f657f4e8.tar.bz2 |
Add support for 'remove-suffix' option
When this option is enabled, the '.git' suffix of repository directories
found while processing the 'scan-path' option will be removed.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -193,24 +193,25 @@ struct cgit_config { | |||
193 | int max_atom_items; | 193 | int max_atom_items; |
194 | int max_repo_count; | 194 | int max_repo_count; |
195 | int max_commit_count; | 195 | int max_commit_count; |
196 | int max_lock_attempts; | 196 | int max_lock_attempts; |
197 | int max_msg_len; | 197 | int max_msg_len; |
198 | int max_repodesc_len; | 198 | int max_repodesc_len; |
199 | int max_blob_size; | 199 | int max_blob_size; |
200 | int max_stats; | 200 | int max_stats; |
201 | int nocache; | 201 | int nocache; |
202 | int noplainemail; | 202 | int noplainemail; |
203 | int noheader; | 203 | int noheader; |
204 | int renamelimit; | 204 | int renamelimit; |
205 | int remove_suffix; | ||
205 | int snapshots; | 206 | int snapshots; |
206 | int summary_branches; | 207 | int summary_branches; |
207 | int summary_log; | 208 | int summary_log; |
208 | int summary_tags; | 209 | int summary_tags; |
209 | int ssdiff; | 210 | int ssdiff; |
210 | struct string_list mimetypes; | 211 | struct string_list mimetypes; |
211 | struct cgit_filter *about_filter; | 212 | struct cgit_filter *about_filter; |
212 | struct cgit_filter *commit_filter; | 213 | struct cgit_filter *commit_filter; |
213 | struct cgit_filter *source_filter; | 214 | struct cgit_filter *source_filter; |
214 | }; | 215 | }; |
215 | 216 | ||
216 | struct cgit_page { | 217 | struct cgit_page { |