From: Carl Worth Date: Fri, 6 Nov 2009 17:32:24 +0000 (-0800) Subject: notmuch show: Don't show the subject line twice. X-Git-Tag: 0.1~560 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=508d2d2ff7bacb0b39563d233e9271fd8113b67c;ds=sidebyside notmuch show: Don't show the subject line twice. I recently added a print of the subject line for use as part of a two-line summary in the emacs client. But of course, the subject was already being printed on the next line. So I didn't really need to add anything, I could have just stopped hiding what was already printed. Anyway, we now avoid printing it twice in a row. --- diff --git a/notmuch.c b/notmuch.c index 5dce6521..64e59fe5 100644 --- a/notmuch.c +++ b/notmuch.c @@ -1076,7 +1076,7 @@ show_command (void *ctx, unused (int argc), unused (char *argv[])) int ret = 0; const char *headers[] = { - "Subject", "From", "To", "Cc", "Bcc", "Date" + "From", "To", "Cc", "Bcc", "Date" }; const char *name, *value; unsigned int i;