git-send-email: Add --threaded option
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 <aroben@apple.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index 946bd76..1f5d57d 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -86,6 +86,13 @@
Do not add the From: address to the cc: list, if it shows up in a From:
line.
+--threaded, --no-threaded::
+ If this is set, the In-Reply-To header will be set on each email sent.
+ If disabled with "--no-threaded", no emails will have the In-Reply-To
+ header set.
+ Default is the value of the 'sendemail.threaded' configuration value;
+ if that is unspecified, default to --threaded.
+
--dry-run::
Do everything except actually send the emails.