X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/2fef9462b26126402f26140a02d3e16cdd2d9928..d6a93cae39f0cf2c1d9d61179a9066cd1e7c3508:/stgit/commands/mail.py diff --git a/stgit/commands/mail.py b/stgit/commands/mail.py index b3b7b49..975f8c9 100644 --- a/stgit/commands/mail.py +++ b/stgit/commands/mail.py @@ -199,6 +199,9 @@ def __build_cover(tmpl, total_nr, msg_id, options): headers_end = __build_address_headers(options) headers_end += 'Message-Id: %s\n' % msg_id + if options.refid: + headers_end += "In-Reply-To: %s\n" % options.refid + headers_end += "References: %s\n" % options.refid if options.version: version_str = ' %s' % options.version