mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 14:36:16 +02:00
Disable GitHub tree hash mismatch warning
This commit is contained in:
parent
1fce12ec32
commit
06e106beff
1 changed files with 2 additions and 0 deletions
|
@ -238,12 +238,14 @@ struct GitArchiveInputScheme : InputScheme
|
|||
cache->upsert(treeHashKey, Attrs{{"treeHash", tarballInfo.treeHash.gitRev()}});
|
||||
cache->upsert(lastModifiedKey, Attrs{{"lastModified", (uint64_t) tarballInfo.lastModified}});
|
||||
|
||||
#if 0
|
||||
if (upstreamTreeHash != tarballInfo.treeHash)
|
||||
warn(
|
||||
"Git tree hash mismatch for revision '%s' of '%s': "
|
||||
"expected '%s', got '%s'. "
|
||||
"This can happen if the Git repository uses submodules.",
|
||||
rev->gitRev(), input.to_string(), upstreamTreeHash->gitRev(), tarballInfo.treeHash.gitRev());
|
||||
#endif
|
||||
|
||||
return {std::move(input), tarballInfo};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue