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/ui-patch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/ui-patch.c') diff --git a/source/ui-patch.c b/source/ui-patch.c index e8ec313..ef63d00 100644 --- a/source/ui-patch.c +++ b/source/ui-patch.c @@ -97,7 +97,7 @@ void cgit_print_patch(const char *new_rev, const char *old_rev, ctx.page.filename = cgit_fmt("%s.patch", rev_range); cgit_print_http_headers(); - if (ctx.cfg.noplainemail) { + if (!ctx.cfg.enable_plain_email) { rev_argv[FORMAT_ARG] = "--format=format:From %H Mon Sep 17 00:00:00 " "2001%nFrom: %an%nDate: %aD%n%w(78,0,1)Subject: " -- cgit v2.8.0