File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ static std::string getLfsApiToken(const ParsedURL & url)
5252 if (output.empty ())
5353 throw Error (
5454 " git-lfs-authenticate: no output (cmd: ssh %s git-lfs-authenticate %s download)" ,
55- url.authority .value_or (" " ), url.path );
55+ url.authority .value_or (" " ),
56+ url.path );
5657
5758 auto queryResp = nlohmann::json::parse (output);
5859 if (!queryResp.contains (" header" ))
@@ -237,8 +238,8 @@ void Fetch::fetch(
237238 }
238239
239240 Path cacheDir = getCacheDir () + " /git-lfs" ;
240- std::string key =
241- hashString (HashAlgorithm::SHA256, pointerFilePath. rel ()). to_string (HashFormat::Base16, false ) + " /" + pointer->oid ;
241+ std::string key = hashString (HashAlgorithm::SHA256, pointerFilePath. rel ()). to_string (HashFormat::Base16, false )
242+ + " /" + pointer->oid ;
242243 Path cachePath = cacheDir + " /" + key;
243244 if (pathExists (cachePath)) {
244245 debug (" using cache entry %s -> %s" , key, cachePath);
You can’t perform that action at this time.
0 commit comments