From d2a9470342bb67fc8b6ca288e313ea12979a9604 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Mon, 6 Jun 2011 18:17:34 -0500 Subject: 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 Signed-off-by: Richard Purdie --- scripts/create-pull-request | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/create-pull-request') 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 REMOTE_URL=$(git config remote.$REMOTE.url) if [ $? -ne 0 ]; then echo "ERROR: git config failed to find a url for '$REMOTE'" + echo + echo "To add a remote url for $REMOTE, use:" + echo " git config remote.$REMOTE.url " exit 1 fi -- cgit v1.2.3-54-g00ecf