chiark
/
gitweb
/
~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use --refid option even when sending a cover mail
[stgit]
/
stgit
/
commands
/
mail.py
diff --git
a/stgit/commands/mail.py
b/stgit/commands/mail.py
index b3b7b494f0115510c20d3b9f554a3ea2a689e221..975f8c92c9b54520ea126b8e1a541d0774d9de48 100644
(file)
--- 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
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
if options.version:
version_str = ' %s' % options.version