File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -821,7 +821,7 @@ sub send_message
821821Message-Id: $message_id
822822X-Mailer: git-send-email $gitversion
823823" ;
824- if ($thread && $ reply_to ) {
824+ if ($reply_to ) {
825825
826826 $header .= " In-Reply-To: $reply_to \n " ;
827827 $header .= " References: $references \n " ;
Original file line number Diff line number Diff line change @@ -531,4 +531,15 @@ test_expect_success 'feed two files' '
531531 test "z$(sed -n -e 2p subjects)" = "zSubject: [PATCH 2/2] add master"
532532'
533533
534+ test_expect_success ' in-reply-to but no threading' '
535+ git send-email \
536+ --dry-run \
537+ --from="Example <nobody@example.com>" \
538+ --to=nobody@example.com \
539+ --in-reply-to="<in-reply-id@example.com>" \
540+ --no-thread \
541+ $patches |
542+ grep "In-Reply-To: <in-reply-id@example.com>"
543+ '
544+
534545test_done
You can’t perform that action at this time.
0 commit comments