diff --git a/src/libfetchers/github.cc b/src/libfetchers/github.cc index 3c8a587c2..8747498be 100644 --- a/src/libfetchers/github.cc +++ b/src/libfetchers/github.cc @@ -172,6 +172,7 @@ struct GitArchiveInputScheme : InputScheme return input; } + // Search for the longest possible match starting from the begining and ending at either the end or a path segment. std::optional getAccessToken(const fetchers::Settings & settings, const std::string & host, const std::string & url) const override { auto tokens = settings.accessTokens.get();