From 06adc7f3dd094d61e623a7ee6e81c145fa682651 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sun, 6 Sep 2026 14:29:37 -1000 Subject: 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 --- source/cgit.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source/cgit.h') 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; -- cgit v2.8.0