[OE-core] [PATCH 3/3] scripts/send-pull-request: allow -C to be used multiple times
Paul Eggleton
paul.eggleton at linux.intel.com
Fri Nov 3 03:16:12 UTC 2017
Allow -C to be specified multiple times in order to CC multiple people
instead of only taking the last specified value. (You can already use
commas to separate multiple recipients, but it makes sense to support
this usage as well as commas as separators may not be immediately
obvious).
Signed-off-by: Paul Eggleton <paul.eggleton at 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 883deac..baa907d 100755
--- a/scripts/send-pull-request
+++ b/scripts/send-pull-request
@@ -82,7 +82,7 @@ while getopts "acC:hp:t:" OPT; do
GITSOBCC="--signed-off-by-cc"
;;
C)
- EXTRA_CC="$OPTARG"
+ EXTRA_CC="$EXTRA_CC,$OPTARG"
;;
h)
usage
--
2.9.5
More information about the Openembedded-core
mailing list