diff options
-rwxr-xr-x | 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 8eefcf63a5..2f91a355b0 100755 --- a/scripts/create-pull-request +++ b/scripts/create-pull-request | |||
@@ -128,7 +128,7 @@ PROTO_RE="[a-z][a-z+]*://" | |||
128 | GIT_RE="\(^\($PROTO_RE\)\?\)\($USER_RE@\)\?\([^:/]*\)[:/]\(.*\)" | 128 | GIT_RE="\(^\($PROTO_RE\)\?\)\($USER_RE@\)\?\([^:/]*\)[:/]\(.*\)" |
129 | REMOTE_URL=${REMOTE_URL%.git} | 129 | REMOTE_URL=${REMOTE_URL%.git} |
130 | REMOTE_REPO=$(echo $REMOTE_URL | sed "s#$GIT_RE#\5#") | 130 | REMOTE_REPO=$(echo $REMOTE_URL | sed "s#$GIT_RE#\5#") |
131 | REMOTE_URL=$(echo $REMOTE_URL | sed "s#$GIT_RE#git://\4/\5#") | 131 | REMOTE_URL=$(echo $REMOTE_URL | sed "s#$GIT_RE#https://\4/\5#") |
132 | 132 | ||
133 | if [ -z "$BRANCH" ]; then | 133 | if [ -z "$BRANCH" ]; then |
134 | BRANCH=$(git branch | grep -e "^\* " | cut -d' ' -f2) | 134 | BRANCH=$(git branch | grep -e "^\* " | cut -d' ' -f2) |