Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] scripts.send-pull-request: Avoid multiple chain headers
@ 2016-11-25 20:30 Jose Lamego
  2016-11-28 16:23 ` [PATCH V2] " Jose Lamego
  0 siblings, 1 reply; 9+ messages in thread
From: Jose Lamego @ 2016-11-25 20:30 UTC (permalink / raw)
  To: openembedded-core

When creating a patch set with cover letter using the
send-pull-request script, both the "In-Reply-To" and "References"
headers are appended twice in patch 2 and subsequent.

This change appends only one header pointing to very first patch
in series or to cover letter if available.

[Yocto #10718]

Signed-off-by: Jose Lamego <jose.a.lamego@linux.intel.com>
---
 scripts/send-pull-request | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/send-pull-request b/scripts/send-pull-request
index 575549d..a660c37 100755
--- a/scripts/send-pull-request
+++ b/scripts/send-pull-request
@@ -162,7 +162,7 @@ PATCHES=$(echo $PDIR/*.patch)
 if [ $AUTO_CL -eq 1 ]; then
 	# Send the cover letter to every recipient, both specified as well as
 	# harvested. Then remove it from the patches list.
-	eval "git send-email $GIT_TO $GIT_CC $GIT_EXTRA_CC --confirm=always --no-chain-reply-to --suppress-cc=all $CL"
+	eval "git send-email $GIT_TO $GIT_CC $GIT_EXTRA_CC --confirm=always --no-thread --suppress-cc=all $CL"
 	if [ $? -eq 1 ]; then
 		echo "ERROR: failed to send cover-letter with automatic recipients."
 		exit 1
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-11-29 14:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-25 20:30 [PATCH] scripts.send-pull-request: Avoid multiple chain headers Jose Lamego
2016-11-28 16:23 ` [PATCH V2] " Jose Lamego
2016-11-28 19:47   ` Patrick Ohly
2016-11-28 20:28     ` Jose Lamego
2016-11-28 21:34       ` Patrick Ohly
2016-11-28 22:35         ` Jose Lamego
2016-11-29  8:51           ` Patrick Ohly
2016-11-29  8:55             ` [PATCH V3] scripts/send-pull-request: " Patrick Ohly
2016-11-29 14:51             ` [PATCH V2] scripts.send-pull-request: " Jose Lamego

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox