From 38c130ad22cc874c02b8fcc30776bce1d334c79d Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Mon, 16 Mar 2015 13:29:22 +0100 Subject: 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 --- scripts/create-pull-request | 4 ++-- 1 file 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 -- cgit 1.2.3-korg