[oe-commits] Martin Jansa : create-pull-request: allow '+' in git PROTO_RE, ie for ' git+ssh://'
git version control
git at git.openembedded.org
Wed Jun 1 17:35:53 UTC 2011
Module: openembedded-core.git
Branch: master
Commit: fb556532d4320518b96808d773d9e42719293be4
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=fb556532d4320518b96808d773d9e42719293be4
Author: Martin Jansa <Martin.Jansa at gmail.com>
Date: Tue May 31 17:40:26 2011 +0200
create-pull-request: allow '+' in git PROTO_RE, ie for 'git+ssh://'
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
scripts/create-pull-request | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/create-pull-request b/scripts/create-pull-request
index 19b640f..d52098e 100755
--- a/scripts/create-pull-request
+++ b/scripts/create-pull-request
@@ -102,7 +102,7 @@ while getopts "b:chi:m:o:p:r:s:u:" OPT; do
case "$REMOTE_URL" in
*@*)
USER_RE="[A-Za-z0-9_.@][A-Za-z0-9_. at -]*\$\?"
- PROTO_RE="[a-z][a-z]*://"
+ PROTO_RE="[a-z][a-z+]*://"
GIT_RE="\(^\($PROTO_RE\)\?$USER_RE@\)\([^:/]*\)[:/]\(.*\)"
REMOTE_URL=${REMOTE_URL%.git}
REMOTE_REPO=$(echo $REMOTE_URL | sed "s#$GIT_RE#\4#")
More information about the Openembedded-commits
mailing list