From 3c0ba132c822320f7a7812d4408879b0feb1589e Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 5 Sep 2026 21:31:55 -1000 Subject: Rename the inconsistent config keys The old spellings are no longer read. enable-header and enable-plain-email take the opposite value of the noheader and noplainemail they replace. --- 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 2.12.1