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-blame.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/ui-blame.c') diff --git a/source/ui-blame.c b/source/ui-blame.c index c25c2b3..ff3795e 100644 --- a/source/ui-blame.c +++ b/source/ui-blame.c @@ -118,14 +118,14 @@ static char *suspect_detail(struct blame_origin *suspect) info = cgit_parse_commit(suspect->commit); strbuf_addf(&detail, "author %s", info->author); - if (!ctx.cfg.noplainemail) + if (ctx.cfg.enable_plain_email) strbuf_addf(&detail, " %s", info->author_email); strbuf_addf(&detail, " %s\n", show_date(info->author_date, info->author_tz, cgit_date_mode(DATE_ISO8601))); strbuf_addf(&detail, "committer %s", info->committer); - if (!ctx.cfg.noplainemail) + if (ctx.cfg.enable_plain_email) strbuf_addf(&detail, " %s", info->committer_email); strbuf_addf(&detail, " %s\n\n", show_date(info->committer_date, info->committer_tz, -- cgit 2.12.1