We were accidentally mangling them.
Signed-off-by: Zack Cerza <zack@redhat.com>
log.info("ceph sha1 explicitly supplied")
elif self.args.ceph_branch:
- ceph_hash = util.git_ls_remote(repo_name, self.args.ceph_branch)
+ ceph_hash = util.git_ls_remote(
+ self.args.ceph_repo, self.args.ceph_branch)
if not ceph_hash:
exc = BranchNotFoundError(
self.args.ceph_branch,
name is passed; not when a URL is passed
:returns: The sha1 if found; else None
"""
- if '://' in project_or_url:
+ if '://' in project_or_url or project_or_url.startswith('git@'):
url = project_or_url
else:
url = build_git_url(project_or_url, project_owner)