diff options
Diffstat (limited to 'cgit.h')
| -rw-r--r-- | cgit.h | 13 |
1 files changed, 12 insertions, 1 deletions
| @@ -72,6 +72,8 @@ struct cgit_repo { | |||
| 72 | int snapshots; | 72 | int snapshots; |
| 73 | int enable_log_filecount; | 73 | int enable_log_filecount; |
| 74 | int enable_log_linecount; | 74 | int enable_log_linecount; |
| 75 | int enable_remote_branches; | ||
| 76 | int enable_subject_links; | ||
| 75 | int max_stats; | 77 | int max_stats; |
| 76 | time_t mtime; | 78 | time_t mtime; |
| 77 | struct cgit_filter *about_filter; | 79 | struct cgit_filter *about_filter; |
| @@ -143,6 +145,10 @@ struct cgit_query { | |||
| 143 | int nohead; | 145 | int nohead; |
| 144 | char *sort; | 146 | char *sort; |
| 145 | int showmsg; | 147 | int showmsg; |
| 148 | int ssdiff; | ||
| 149 | int show_all; | ||
| 150 | int context; | ||
| 151 | char *vpath; | ||
| 146 | }; | 152 | }; |
| 147 | 153 | ||
| 148 | struct cgit_config { | 154 | struct cgit_config { |
| @@ -178,13 +184,17 @@ struct cgit_config { | |||
| 178 | int enable_index_links; | 184 | int enable_index_links; |
| 179 | int enable_log_filecount; | 185 | int enable_log_filecount; |
| 180 | int enable_log_linecount; | 186 | int enable_log_linecount; |
| 187 | int enable_remote_branches; | ||
| 188 | int enable_subject_links; | ||
| 181 | int enable_tree_linenumbers; | 189 | int enable_tree_linenumbers; |
| 182 | int local_time; | 190 | int local_time; |
| 191 | int max_atom_items; | ||
| 183 | int max_repo_count; | 192 | int max_repo_count; |
| 184 | int max_commit_count; | 193 | int max_commit_count; |
| 185 | int max_lock_attempts; | 194 | int max_lock_attempts; |
| 186 | int max_msg_len; | 195 | int max_msg_len; |
| 187 | int max_repodesc_len; | 196 | int max_repodesc_len; |
| 197 | int max_blob_size; | ||
| 188 | int max_stats; | 198 | int max_stats; |
| 189 | int nocache; | 199 | int nocache; |
| 190 | int noplainemail; | 200 | int noplainemail; |
| @@ -194,6 +204,7 @@ struct cgit_config { | |||
| 194 | int summary_branches; | 204 | int summary_branches; |
| 195 | int summary_log; | 205 | int summary_log; |
| 196 | int summary_tags; | 206 | int summary_tags; |
| 207 | int ssdiff; | ||
| 197 | struct string_list mimetypes; | 208 | struct string_list mimetypes; |
| 198 | struct cgit_filter *about_filter; | 209 | struct cgit_filter *about_filter; |
| 199 | struct cgit_filter *commit_filter; | 210 | struct cgit_filter *commit_filter; |
| @@ -268,7 +279,7 @@ extern void *cgit_free_commitinfo(struct commitinfo *info); | |||
| 268 | extern int cgit_diff_files(const unsigned char *old_sha1, | 279 | extern int cgit_diff_files(const unsigned char *old_sha1, |
| 269 | const unsigned char *new_sha1, | 280 | const unsigned char *new_sha1, |
| 270 | unsigned long *old_size, unsigned long *new_size, | 281 | unsigned long *old_size, unsigned long *new_size, |
| 271 | int *binary, linediff_fn fn); | 282 | int *binary, int context, linediff_fn fn); |
| 272 | 283 | ||
| 273 | extern void cgit_diff_tree(const unsigned char *old_sha1, | 284 | extern void cgit_diff_tree(const unsigned char *old_sha1, |
| 274 | const unsigned char *new_sha1, | 285 | const unsigned char *new_sha1, |
