8000 chore(url[git]): Always fetch colon separator in scp-URLs · vcs-python/libvcs@accc010 · GitHub
[go: up one dir, main page]

Skip to content

Commit accc010

Browse files
committed
chore(url[git]): Always fetch colon separator in scp-URLs
1 parent 5799245 commit accc010

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libvcs/url/git.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
# Optional user, e.g. 'git@'
3232
((?P<user>\w+)@)?
3333
# Server, e.g. 'github.com'.
34-
(?P<hostname>([^/:]+)):
34+
(?P<hostname>([^/:]+))
35+
(?P<separator>:)
3536
# The server-side path. e.g. 'user/project.git'. Must start with an
3637
# alphanumeric character so as not to be confusable with a Windows paths
3738
# like 'C:/foo/bar' or 'C:\foo\bar'.

0 commit comments

Comments
 (0)
0