mirror of
https://github.com/NixOS/nix.git
synced 2025-11-27 04:30:59 +01:00
Merge pull request #14492 from NixOS/fix-14429
fetchGit: Drop `git+` from the `url` attribute
This commit is contained in:
commit
709a73e7ae
6 changed files with 80 additions and 15 deletions
|
|
@ -35,10 +35,10 @@ INSTANTIATE_TEST_SUITE_P(
|
|||
// Already proper URL with git+ssh
|
||||
FixGitURLParam{
|
||||
.input = "git+ssh://user@domain:1234/path",
|
||||
.expected = "git+ssh://user@domain:1234/path",
|
||||
.expected = "ssh://user@domain:1234/path",
|
||||
.parsed =
|
||||
ParsedURL{
|
||||
.scheme = "git+ssh",
|
||||
.scheme = "ssh",
|
||||
.authority =
|
||||
ParsedURL::Authority{
|
||||
.host = "domain",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue