diff --git a/src/libfetchers/git-lfs-fetch.cc b/src/libfetchers/git-lfs-fetch.cc index e9b690f8f..bc61fe292 100644 --- a/src/libfetchers/git-lfs-fetch.cc +++ b/src/libfetchers/git-lfs-fetch.cc @@ -19,6 +19,8 @@ namespace nix::lfs { static void downloadToSink( const std::string & url, const std::string & authHeader, + // FIXME: passing a StringSink is superfluous, we may as well + // return a string. Or use an abstract Sink for streaming. StringSink & sink, std::string sha256Expected, size_t sizeExpected)