From patchwork Fri May 13 23:38:14 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [RFC, 09/10] send-pull-request: don't send all patches to everyone even with -a Date: Fri, 13 May 2011 23:38:14 -0000 From: Darren Hart X-Patchwork-Id: 4013 Message-Id: <502617737ac9c95e9bd4a172cb8e70a24be1b14b.1305329659.git.dvhart@linux.intel.com> To: openembedded-core@lists.openembedded.org Cc: Koen Kooi Rather than sending every patch to every recipient of the entire series when -a is used, only send the cover letter to everyone and use git's --signed-off-by-cc feature to generate an auto cc list for the individual patches. Using git to harvest the Cc list means only collecting Signed-off-by and Cc lines, rather than the more generic *-by lines previously. This is a fair trade-off for significantly reduced complexity. If users want to add Acked-by and Tested-by lines and want to use the -a feature, they should include those recipients as Cc lines as well. Now that we rely on git for auto-cc for the individual patches, make sure the user is prompted before sending each patch by forcing --confirm=always. Signed-off-by: Darren Hart Cc: Khem Raj Cc: Koen Kooi --- scripts/send-pull-request | 60 +++++++++++++++++++++++++++------------------ 1 files changed, 36 insertions(+), 24 deletions(-) diff --git a/scripts/send-pull-request b/scripts/send-pull-request index b294d35..f94596f 100755 --- a/scripts/send-pull-request +++ b/scripts/send-pull-request @@ -4,33 +4,34 @@ AUTO=0 # Prevent environment leakage to these vars. unset TO unset CC +unset AUTO_CC usage() { cat <