]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
send-pull-request: Make -a really imply -c
authorDarren Hart <dvhart@linux.intel.com>
Wed, 1 Aug 2012 19:18:19 +0000 (12:18 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Aug 2012 14:28:38 +0000 (15:28 +0100)
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.

(From OE-Core rev: 319d2cc8e60450106b665ee4172e2e6dc90e14b5)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/send-pull-request

index 09f42458c7afefb27ab4ae3caba3c11d94f2a32f..18a53c410e562fb29b18c92d08c213a13b1e0619 100755 (executable)
@@ -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