Skip to content

Commit 03c03ea

Browse files
authored
chore(git): Remove another already supported netloc scheme ('git', #380)
2 parents ce25eb6 + 78adb49 commit 03c03ea

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

CHANGES

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,12 @@ $ pip install --user --upgrade --pre libvcs
4848

4949
### Cleanup
5050

51-
- :{issue}`378` Remove duplicate `uses_netloc` scheme for `git+ssh` (this was in cpython since 2.7 /
52-
3.1 [^git+ssh][^python:bugs:8657])
51+
- {issue}`378` {issue}`380` Remove duplicate `uses_netloc` scheme for `git+ssh` (this was in cpython
52+
since 2.7 / 3.1 [^git+ssh][^python:bugs:8657])
5353

54-
[^git+ssh]: [python/cpython@ead169d]
54+
[^git+ssh]: `uses_netloc` added `'git'` and `'git+ssh'` in {mod}`urllib.parse`
55+
56+
[python/cpython@ead169d]
5557

5658
[python/cpython@ead169d]:
5759
https://github.com/python/cpython/commit/ead169d3114ed0f1041b5b59ca20293449608c50

libvcs/projects/git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def convert_pip_url(pip_url: str) -> VCSLocation:
157157

158158
class GitProject(BaseProject):
159159
bin_name = "git"
160-
schemes = ("git", "git+http", "git+https", "git+file")
160+
schemes = ("git+http", "git+https", "git+file")
161161
_remotes: GitProjectRemoteDict
162162

163163
def __init__(

0 commit comments

Comments
 (0)