mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 09:24:54 +01:00
CLI: print extra headers only for non-replies
If in the future we decide to output extra headers for replies, this should be controlled by a separate configuration option.
This commit is contained in:
parent
2d036dbc3b
commit
87d5a5a8aa
2 changed files with 2 additions and 2 deletions
|
@ -294,7 +294,8 @@ format_headers_sprinter (sprinter_t *sp, GMimeMessage *message,
|
|||
}
|
||||
|
||||
/* Output extra headers the user has configured, if any */
|
||||
format_extra_headers_sprinter (sp, message);
|
||||
if (! reply)
|
||||
format_extra_headers_sprinter (sp, message);
|
||||
sp->end (sp);
|
||||
talloc_free (local);
|
||||
}
|
||||
|
|
|
@ -486,7 +486,6 @@ EOF
|
|||
test_expect_equal_file EXPECTED OUTPUT
|
||||
|
||||
test_begin_subtest "Reply with show.extra_headers set"
|
||||
test_subtest_known_broken
|
||||
notmuch config set show.extra_headers Received
|
||||
add_message '[from]="Sender <sender@example.com>"' \
|
||||
[to]=test_suite_other@notmuchmail.org
|
||||
|
|
Loading…
Reference in a new issue