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 'source/ui-patch.c')
-rw-r--r--source/ui-patch.c2
1 file changed, 1 insertion, 1 deletion
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: "