diff options
author | Darren Hart <dvhart@linux.intel.com> | 2011-05-23 10:21:53 -0700 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-05-23 23:39:09 -0700 |
commit | 861c288e353e917374de938c4e5e927e116cd56c (patch) | |
tree | c87af2007698e05c037e82935c74994cb0f6d01d /meta/recipes-devtools/git | |
parent | debee5134a2ca505e968a6ddfb5c2f6434e3007a (diff) | |
download | openembedded-core-861c288e353e917374de938c4e5e927e116cd56c.tar.gz openembedded-core-861c288e353e917374de938c4e5e927e116cd56c.tar.bz2 openembedded-core-861c288e353e917374de938c4e5e927e116cd56c.zip |
create-pull-request: generalize the repository URL parsing
The existing REMOTE_URL and REMOTE_REPO parsing made assumptions regarding
the git URL format used for the known repository types. In fact, both of
these ssh URL formats are valid for all the known repositories. Specifically:
ssh://git@server/repository/path
git@server:repository/path
Generalize the parsing to work with each of these for all push URLs matching
*@*. Tested with the following URLs:
ssh://git@git.pokylinux.org/poky-contrib
ssh://git@git.pokylinux.org/poky-contrib.git
git@git.pokylinux.org:poky-contrib
git@git.pokylinux.org:poky-contrib.git
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/git')
0 files changed, 0 insertions, 0 deletions