[oe-commits] Mark Hatle : create-pull-request: Add URL documentation
git version control
git at git.openembedded.org
Thu Jun 9 14:42:04 UTC 2011
Module: openembedded-core.git
Branch: master
Commit: e5edda2e84e19a90ca2b0a6d4c265e5d5f59d42a
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e5edda2e84e19a90ca2b0a6d4c265e5d5f59d42a
Author: Mark Hatle <mark.hatle at windriver.com>
Date: Mon Jun 6 18:17:34 2011 -0500
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 at windriver.com>
---
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 d52098e..7d021d3 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
More information about the Openembedded-commits
mailing list