Skip to content

Commit e4da02b

Browse files
authored
chore(git): Remove uses_netloc for git+ssh, already in cpython (#378)
2 parents 7703993 + 2db34ea commit e4da02b

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

CHANGES

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,18 @@ $ pip install --user --upgrade --pre libvcs
4242

4343
_Backport from 0.13.3_
4444

45+
### Cleanup
46+
47+
- :{issue}`378` Remove duplicate `uses_netloc` scheme for `git+ssh` (this was in cpython since 2.7 /
48+
3.1 [^git+ssh][^python:bugs:8657])
49+
50+
[^git+ssh]: [python/cpython@ead169d]
51+
52+
[python/cpython@ead169d]:
53+
https://github.com/python/cpython/commit/ead169d3114ed0f1041b5b59ca20293449608c50
54+
55+
[^python:bugs:8657]: <https://bugs.python.org/issue8657>
56+
4557
## libvcs 0.13.6 (2022-06-18)
4658

4759
### Development

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+ssh", "git+git", "git+file")
160+
schemes = ("git", "git+http", "git+https", "git+git", "git+file")
161161
_remotes: GitProjectRemoteDict
162162

163163
def __init__(

0 commit comments

Comments
 (0)