[oe-commits] Darren Hart : send-pull-request: Make -a really imply -c

git at git.openembedded.org git at git.openembedded.org
Thu Aug 2 14:29:49 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 319d2cc8e60450106b665ee4172e2e6dc90e14b5
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=319d2cc8e60450106b665ee4172e2e6dc90e14b5

Author: Darren Hart <dvhart at linux.intel.com>
Date:   Wed Aug  1 12:18:19 2012 -0700

send-pull-request: Make -a really imply -c

The switch statement does not fall through as the comment suggests.
This results in -a not implying -c as was intended.

Add the two lines from -c to -a to achieve the intended behavior.

Signed-off-by: Darren Hart <dvhart at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 scripts/send-pull-request |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/scripts/send-pull-request b/scripts/send-pull-request
index 09f4245..18a53c4 100755
--- a/scripts/send-pull-request
+++ b/scripts/send-pull-request
@@ -71,8 +71,9 @@ harvest_recipients()
 while getopts "achp:t:" OPT; do
 	case $OPT in
 	a)
+		AUTO=1
+		GITSOBCC="--signed-off-by-cc"
 		AUTO_CL=1
-		# Fall through to include -c
 		;;
 	c)
 		AUTO=1





More information about the Openembedded-commits mailing list