We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df9b3bf commit dbc235cCopy full SHA for dbc235c
src/libfetchers/git.cc
@@ -163,8 +163,8 @@ struct GitInputScheme : InputScheme
163
{
164
std::optional<Input> inputFromURL(const Settings & settings, const ParsedURL & url, bool requireTree) const override
165
166
- if (url.scheme != "git" && url.scheme != "git+http" && url.scheme != "git+https" && url.scheme != "git+ssh"
167
- && url.scheme != "git+file")
+ auto parsedScheme = parseUrlScheme(url.scheme);
+ if (parsedScheme.application != "git")
168
return {};
169
170
auto url2(url);
0 commit comments