]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
create-pull-request: Add URL documentation
authorMark Hatle <mark.hatle@windriver.com>
Mon, 6 Jun 2011 23:17:34 +0000 (18:17 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 Jun 2011 14:48:26 +0000 (15:48 +0100)
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>
scripts/create-pull-request

index d52098ee60098fd1c913b2a272f8d158e35e8a08..7d021d322758a519d5110596040295c649003a10 100755 (executable)
@@ -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 <url>"
                        exit 1
                fi