Skip to contentSkip to conversation

Update create-pull-request script

PATCH New Mark Hatle 2 participants 3 messages Jun 7, 2011 – Jun 9, 2011

lore
Share & tools
lore

Mark Hatle

author
#0 lore raw

cover Update create-pull-request script

*** BLURB HERE ***
The following changes since commit 925de3b3e74d15547840a2edaceff437e135bddd:

tzcode: Update to 2011g (2011-06-06 15:52:18 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib mhatle/pull-req
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/pull-req

Mark Hatle (1):
create-pull-request: Add URL documentation

 scripts/create-pull-request                        |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
Signature · 1 line
1.7.3.4
author
#1 lore raw

PATCH 3/3 create-pull-request: Add URL documentation

If we can't find the URL, tell the user how to correct the issue.

---
 scripts/create-pull-request |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
scripts/create-pull-request +3 -0
index d52098e..7d021d3 100755
@@ -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
 
Signature · 1 line
1.7.3.4
Applied
#2 lore raw

Re: [PATCH 3/3] create-pull-request: Add URL documentation

Quoted 12 lines · Mark Hatle

If we can't find the URL, tell the user how to correct the issue.

---
  scripts/create-pull-request |    3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)
scripts/create-pull-request +0 -0
index d52098e..7d021d3 100755

scripts/create-pull-request while getopts "b:chi:m:o:p:r:s:u:" OPT; do · line 102

Quoted 9 lines
scripts/create-pull-request +3 -0
@@ -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
 

Merged into OE-Core

Thanks
Sau!