[OE-core] [PATCH 1/1] send-pull-request: Make -a really imply -c

Darren Hart dvhart at linux.intel.com
Wed Aug 1 19:18:19 UTC 2012


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>
---
 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
-- 
1.7.5.4





More information about the Openembedded-core mailing list