diff --git a/pungi/wrappers/scm.py b/pungi/wrappers/scm.py index 1ed8bd33..aae5e847 100644 --- a/pungi/wrappers/scm.py +++ b/pungi/wrappers/scm.py @@ -160,6 +160,9 @@ class GitWrapper(ScmBase): if "://" not in repo: repo = "file://%s" % repo + if repo.startswith("git+http"): + repo = repo[4:] + git_cmd = ["git"] if "credential_helper" in self.options: git_cmd.extend(["-c", "credential.useHttpPath=true"])