summaryrefslogtreecommitdiffstats
path: root/scripts/create-pull-request
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2011-06-06 18:17:34 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-09 15:48:26 +0100
commitd2a9470342bb67fc8b6ca288e313ea12979a9604 (patch)
tree2cbf4e3d03c5ec51b53b6bfec8c0a149a878c457 /scripts/create-pull-request
parent1f0e24236f85e46b88dd2d18f4fbc685b9ecf101 (diff)
downloadpoky-d2a9470342bb67fc8b6ca288e313ea12979a9604.tar.gz
create-pull-request: Add URL documentation
If we can't find the URL, tell the user how to correct the issue. (From OE-Core rev: e5edda2e84e19a90ca2b0a6d4c265e5d5f59d42a) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/create-pull-request')
-rwxr-xr-xscripts/create-pull-request3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/create-pull-request b/scripts/create-pull-request
index d52098ee60..7d021d3227 100755
--- a/scripts/create-pull-request
+++ b/scripts/create-pull-request
@@ -94,6 +94,9 @@ while getopts "b:chi:m:o:p:r:s:u:" OPT; do
94 REMOTE_URL=$(git config remote.$REMOTE.url) 94 REMOTE_URL=$(git config remote.$REMOTE.url)
95 if [ $? -ne 0 ]; then 95 if [ $? -ne 0 ]; then
96 echo "ERROR: git config failed to find a url for '$REMOTE'" 96 echo "ERROR: git config failed to find a url for '$REMOTE'"
97 echo
98 echo "To add a remote url for $REMOTE, use:"
99 echo " git config remote.$REMOTE.url <url>"
97 exit 1 100 exit 1
98 fi 101 fi
99 102