1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 23:11:16 +02:00

remove debug prints

This commit is contained in:
Brian Camacho 2024-11-18 01:21:14 -05:00
parent b548e5c4c5
commit f67b63fa3a

View file

@ -642,7 +642,6 @@ struct GitInputScheme : InputScheme
bool exportIgnore = getExportIgnoreAttr(input); bool exportIgnore = getExportIgnoreAttr(input);
bool smudgeLfs = getLfsAttr(input); bool smudgeLfs = getLfsAttr(input);
std::cerr << "smudgeLfs: " << smudgeLfs << std::endl;
auto accessor = repo->getAccessor(rev, exportIgnore, smudgeLfs); auto accessor = repo->getAccessor(rev, exportIgnore, smudgeLfs);
accessor->setPathDisplay("«" + input.to_string() + "»"); accessor->setPathDisplay("«" + input.to_string() + "»");
@ -805,9 +804,7 @@ struct GitInputScheme : InputScheme
{ {
if (auto rev = input.getRev()) if (auto rev = input.getRev())
{ {
const auto s = rev->gitRev() + (getSubmodulesAttr(input) ? ";s" : "") + (getExportIgnoreAttr(input) ? ";e" : "") + (getLfsAttr(input) ? ";l" : ""); return rev->gitRev() + (getSubmodulesAttr(input) ? ";s" : "") + (getExportIgnoreAttr(input) ? ";e" : "") + (getLfsAttr(input) ? ";l" : "");
std::cerr << "getFingerprint: " << s << std::endl;
return s;
} }
else else
return std::nullopt; return std::nullopt;