summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-03-16 13:29:22 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-03-16 21:06:50 +0100
commit38c130ad22cc874c02b8fcc30776bce1d334c79d (patch)
tree6d557878bc8f7d074cdf1f59dcc832112a43c06c
parent9659c7be3c0b8cfeff6343734801ab0448c32e83 (diff)
downloadopenembedded-core-contrib-38c130ad22cc874c02b8fcc30776bce1d334c79d.tar.gz
openembedded-core-contrib-38c130ad22cc874c02b8fcc30776bce1d334c79d.tar.bz2
openembedded-core-contrib-38c130ad22cc874c02b8fcc30776bce1d334c79d.zip
create-pull-request: tweak relative_to default
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>
-rwxr-xr-xscripts/create-pull-request4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/create-pull-request b/scripts/create-pull-request
index 97ed874e7f..96fefd7a29 100755
--- a/scripts/create-pull-request
+++ b/scripts/create-pull-request
@@ -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