fetchGit: Fix broken assertion
Different URIs can map to the same cache entry if they have the same revision.
This commit is contained in:
parent
812e027e1d
commit
a5c392a80e
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ GitInfo exportGit(ref<Store> store, const std::string & uri,
|
|||
// FIXME: doesn't handle empty lines
|
||||
auto json = nlohmann::json::parse(readFile(storeLink));
|
||||
|
||||
assert(json["uri"] == uri && json["name"] == name && json["rev"] == gitInfo.rev);
|
||||
assert(json["name"] == name && json["rev"] == gitInfo.rev);
|
||||
|
||||
gitInfo.storePath = json["storePath"];
|
||||
|
||||
|
|
Loading…
Reference in a new issue