summaryrefslogtreecommitdiff
path: root/log-tree.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-07-25 12:54:57 -0700
committerJunio C Hamano <junkio@cox.net>2006-07-25 12:54:57 -0700
commite79992abdb42f8c9e517c60d7e023894a83764a1 (patch)
tree0625a95b8c3f20a85d9a07a1696f5803054e620e /log-tree.c
parenta8861ea81be90594d9f23d30792d6cf8d22ad1ff (diff)
parent76af073457320ffcba937a8c7ed4e8b37150cca8 (diff)
downloadgit-e79992abdb42f8c9e517c60d7e023894a83764a1.tar.gz
Merge branch 'jt/format-patch'
* jt/format-patch: builtin-log: typefix for recent format-patch changes. Add option to set initial In-Reply-To/References Add option to enable threading headers git-format-patch: Make the second and subsequent mails replies to the first
Diffstat (limited to 'log-tree.c')
-rw-r--r--log-tree.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/log-tree.c b/log-tree.c
index 3a6c84dab5..b67b8dd17a 100644
--- a/log-tree.c
+++ b/log-tree.c
@@ -97,6 +97,11 @@ void show_log(struct rev_info *opt, const char *sep)
subject = "Subject: ";
printf("From %s Mon Sep 17 00:00:00 2001\n", sha1);
+ if (opt->message_id)
+ printf("Message-Id: <%s>\n", opt->message_id);
+ if (opt->ref_message_id)
+ printf("In-Reply-To: <%s>\nReferences: <%s>\n",
+ opt->ref_message_id, opt->ref_message_id);
if (opt->mime_boundary) {
static char subject_buffer[1024];
static char buffer[1024];