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: debian/0.0+201001211401~290 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/notmuch.git/commitdiff_plain/508d2d2ff7bacb0b39563d233e9271fd8113b67c 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;