mirror of
https://github.com/grdl/git-get.git
synced 2026-02-08 04:04:18 +00:00
Use the configured default host when host is empty after parsing the URL
This commit is contained in:
@@ -44,7 +44,7 @@ func TestURLParse(t *testing.T) {
|
||||
{"ftp://github.com/grdl/git-get.git", "github.com/grdl/git-get"},
|
||||
{"ftps://github.com/grdl/git-get.git", "github.com/grdl/git-get"},
|
||||
{"rsync://github.com/grdl/git-get.git", "github.com/grdl/git-get"},
|
||||
{"local/grdl/git-get/", "local/grdl/git-get"},
|
||||
{"local/grdl/git-get/", "github.com/local/grdl/git-get"},
|
||||
{"file://local/grdl/git-get", "local/grdl/git-get"},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user