diff options
author | Catalin Marinas <catalin.marinas@gmail.com> | 2010-02-05 13:45:00 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@gmail.com> | 2010-02-05 13:45:00 +0000 |
commit | 35112e505fff1c37f9261313060c730c47ab47c8 (patch) | |
tree | c06d2a76bc87d283ddc1d6f70329b1c3626bbb7c | |
parent | ae5305d2d7c3535e1eeb5e8f7141906d3234f6a9 (diff) | |
download | stgit-35112e505fff1c37f9261313060c730c47ab47c8.tar.gz |
Pass the --in-reply-to and --no-thread options to git send-email
Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
-rw-r--r-- | stgit/commands/mail.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/stgit/commands/mail.py b/stgit/commands/mail.py index e479e92..e1de847 100644 --- a/stgit/commands/mail.py +++ b/stgit/commands/mail.py @@ -241,6 +241,10 @@ def __send_message_git(msg, options): cmd.append("--suppress-cc=self") if not options.auto: cmd.append("--suppress-cc=body") + if options.in_reply_to: + cmd.extend(["--in-reply-to", options.in_reply_to]) + if options.no_thread: + cmd.append("--no-thread") # We only support To/Cc/Bcc in git send-email for now. for x in ['to', 'cc', 'bcc']: |