summaryrefslogtreecommitdiff
path: root/t/t4014-format-patch.sh
diff options
context:
space:
mode:
authorThomas Rast <trast@student.ethz.ch>2009-02-19 21:26:32 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-02-22 04:26:10 (GMT)
commit2175c10d5ad2769936f5bf5bcca5ea32715a7307 (patch)
treef5fa34e6da9a7ff4798824c8d3ed3b28c1f7ac12 /t/t4014-format-patch.sh
parentb079c50e03a812f5c8197b8f38e0a5fe6dd31321 (diff)
downloadgit-2175c10d5ad2769936f5bf5bcca5ea32715a7307.zip
git-2175c10d5ad2769936f5bf5bcca5ea32715a7307.tar.gz
git-2175c10d5ad2769936f5bf5bcca5ea32715a7307.tar.bz2
format-patch: thread as reply to cover letter even with in-reply-to
Currently, format-patch --thread --cover-letter --in-reply-to $parent makes all mails, including the cover letter, a reply to $parent. However, we would want the reader to consider the cover letter above all the patches. This changes the semantics so that only the cover letter is a reply to $parent, while all the patches are formatted as replies to the cover letter. Signed-off-by: Thomas Rast <trast@student.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4014-format-patch.sh')
-rwxr-xr-xt/t4014-format-patch.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/t/t4014-format-patch.sh b/t/t4014-format-patch.sh
index 345e6de..8b970c3 100755
--- a/t/t4014-format-patch.sh
+++ b/t/t4014-format-patch.sh
@@ -237,16 +237,19 @@ In-Reply-To: <1>
References: <1>
---
Message-Id: <2>
-In-Reply-To: <1>
+In-Reply-To: <0>
References: <1>
+ <0>
---
Message-Id: <3>
-In-Reply-To: <1>
+In-Reply-To: <0>
References: <1>
+ <0>
---
Message-Id: <4>
-In-Reply-To: <1>
+In-Reply-To: <0>
References: <1>
+ <0>
EOF
test_expect_success 'thread cover-letter in-reply-to' '