diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Rename the inconsistent config keys
noplainemail enable-plain-email noheader enable-header cache-root-ttl cache-index-ttl cache-repo-ttl cache-summary-ttl cache-scanrc-ttl cache-scan-ttl agefile age-file renamelimit rename-limit extra-head-content head-content
Diffstat (limited to '')
-rw-r--r--source/cgit.h12
1 file changed, 6 insertions, 6 deletions
diff --git a/source/cgit.h b/source/cgit.h
index fa52010..8d2d686 100644
--- a/source/cgit.h
+++ b/source/cgit.h
@@ -72,7 +72,7 @@ struct cgit_repo {
char *name;
char *path;
char *desc;
- char *extra_head_content;
+ char *head_content;
char *owner;
char *defbranch;
char *module_link;
@@ -206,10 +206,10 @@ struct cgit_config {
struct date_mode date_mode;
int cache_size;
int cache_dynamic_ttl;
- int cache_repo_ttl;
- int cache_root_ttl;
- int cache_scanrc_ttl;
+ int cache_index_ttl;
+ int cache_scan_ttl;
int cache_static_ttl;
+ int cache_summary_ttl;
int cache_about_ttl;
int cache_snapshot_ttl;
int case_sensitive_sort;
@@ -217,6 +217,7 @@ struct cgit_config {
int enable_filter_overrides;
int enable_follow_links;
int enable_gitmodules_links;
+ int enable_header;
int enable_http_clone;
int enable_index_links;
int enable_index_owner;
@@ -224,6 +225,7 @@ struct cgit_config {
int enable_commit_graph;
int enable_log_filecount;
int enable_log_linecount;
+ int enable_plain_email;
int enable_relative_dates;
int enable_remote_branches;
int enable_subject_links;
@@ -244,8 +246,6 @@ struct cgit_config {
int max_repodesc_len;
int max_blob_size;
int max_stats;
- int noplainemail;
- int noheader;
int renamelimit;
int remove_suffix;
int scan_hidden_path;