Re: [PATCH] git-send-email: Add --threaded option
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:18
Adam Roben [off-list ref] writes:
The --threaded option controls whether the In-Reply-To header will be set on any emails sent. The current behavior is to always set this header, so this option is most useful in its negated form, --no-threaded. This behavior can also be controlled through the 'sendemail.threaded' config setting. Signed-off-by: Adam Roben <redacted>
Thanks. I've always felt that send-email has too much built-in policy; I think this is a sensible change.
quoted hunk
@@ -138,8 +141,8 @@ my (@to,@cc,@initial_cc,@bcclist,@xh, $initial_reply_to,$initial_subject,@files,$from,$compose,$time); # Behavior modification variables -my ($chain_reply_to, $quiet, $suppress_from, $no_signed_off_cc, - $dry_run) = (1, 0, 0, 0, 0); +my ($threaded, $chain_reply_to, $quiet, $suppress_from, $no_signed_off_cc, + $dry_run) = (1, 1, 0, 0, 0, 0);
While we are at it, you might want to make everything other than quiet and dry_run overridable the same way.