]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
create-pull-request: tweak relative_to default
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 16 Mar 2015 12:29:22 +0000 (13:29 +0100)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 16 Mar 2015 20:06:50 +0000 (21:06 +0100)
use origin/master per default, otherwise the script failed to do
anything when using a contrib remote

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
scripts/create-pull-request

index 97ed874e7f9ff7a5bb9fdf6d056db14b373745e9..96fefd7a2924676912941ecde0b86f301375f4e6 100755 (executable)
@@ -26,7 +26,7 @@
 #
 
 ODIR=pull-$$
-RELATIVE_TO="master"
+RELATIVE_TO="origin/master"
 COMMIT_ID="HEAD"
 PREFIX="PATCH"
 RFC=0
@@ -42,7 +42,7 @@ Usage: $CMD [-h] [-o output_dir] [-m msg_body_file] [-s subject] [-r relative_to
   -m msg_body_file    The file containing a blurb to be inserted into the summary email
   -o output_dir       Specify the output directory for the messages (default: pull-PID)
   -p prefix           Use [prefix N/M] instead of [PATCH N/M] as the subject prefix
-  -r relative_to      Starting commit (default: master)
+  -r relative_to      Starting commit (default: origin/master)
   -s subject          The subject to be inserted into the summary email
   -u remote           The git remote where the branch is located