diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-08-07 17:02:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-07 17:02:17 +0200 |
commit | eb1302670e49e5bcf9f01f1cfaeaa6e62c383290 (patch) | |
tree | 18f76c64d482e6a1facc2d46ac67e409f8430aeb /src/libfetchers/github.cc | |
parent | 5df0f1755f36c2dbee29e5e434e1adc138601d5f (diff) | |
parent | d9e7758f4756c10592407b3fe99dc253ef56eac9 (diff) |
Merge pull request #8769 from edolstra/generalize-tarball-urls
Don't require .tar/.zip extension for tarball flakerefs
Diffstat (limited to 'src/libfetchers/github.cc')
-rw-r--r-- | src/libfetchers/github.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libfetchers/github.cc b/src/libfetchers/github.cc index 80598e7f8..291f457f0 100644 --- a/src/libfetchers/github.cc +++ b/src/libfetchers/github.cc @@ -30,7 +30,7 @@ struct GitArchiveInputScheme : InputScheme virtual std::optional<std::pair<std::string, std::string>> accessHeaderFromToken(const std::string & token) const = 0; - std::optional<Input> inputFromURL(const ParsedURL & url) const override + std::optional<Input> inputFromURL(const ParsedURL & url, bool requireTree) const override { if (url.scheme != type()) return {}; |