Allow use of "git:"-based URLs (#29765)

This commit is contained in:
Ivo Steinbrecher 2022-03-31 19:14:18 +02:00 committed by GitHub
parent 1ecb19894c
commit 44263b7226
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -343,7 +343,7 @@ def parse_git_url(url):
def require_url_format(url):
ut = re.search(r'^(file://|http://|https://|ftp://|s3://|gs://|ssh://|/)', url)
ut = re.search(r'^(file://|http://|https://|ftp://|s3://|gs://|ssh://|git://|/)', url)
assert ut is not None