diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-06-06 18:17:34 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-09 15:37:10 +0100 |
commit | e5edda2e84e19a90ca2b0a6d4c265e5d5f59d42a (patch) | |
tree | 3c041fc98e8d1ea9e016bca2e17f8a5038f2bf77 | |
parent | 60f74e47160508c9150d880b1f627dc7e3f0d3ab (diff) | |
download | openembedded-core-e5edda2e84e19a90ca2b0a6d4c265e5d5f59d42a.tar.gz openembedded-core-e5edda2e84e19a90ca2b0a6d4c265e5d5f59d42a.tar.bz2 openembedded-core-e5edda2e84e19a90ca2b0a6d4c265e5d5f59d42a.tar.xz openembedded-core-e5edda2e84e19a90ca2b0a6d4c265e5d5f59d42a.zip |
create-pull-request: Add URL documentation
If we can't find the URL, tell the user how to correct the issue.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
-rwxr-xr-x | scripts/create-pull-request | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/create-pull-request b/scripts/create-pull-request index d52098ee6..7d021d322 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 <url>" exit 1 fi |