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.eggle...@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

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to