]> code.ossystems Code Review - openembedded-core.git/commit
send-pull-request: don't send all patches to everyone even with -a
authorDarren Hart <dvhart@linux.intel.com>
Fri, 13 May 2011 20:58:36 +0000 (13:58 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 May 2011 22:37:27 +0000 (23:37 +0100)
commit90ef7136087f1a16da3c8fc2decbed27a5debcd8
tree34393c134d4fd529a276d953b0cbef21cc77c16a
parente155cdedb0ac7ce8e0d6cb0ed5f22e9367f5e343
send-pull-request: don't send all patches to everyone even with -a

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.

Add a -c option to use --signed-off-by-cc to auto cc recipeients at the
individual patch level. This is implied by -a.

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 <dvhart@linux.intel.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Koen Kooi <koen@dominion.thruhere.net>
Cc: Otavio Salvador <otavio@ossystems.com.br>
scripts/send-pull-request