remove unused repo cache functions

This commit is contained in:
2023-07-15 22:26:15 +02:00
parent dba5f06c10
commit f517b0deab
4 changed files with 1 additions and 35 deletions

View File

@@ -95,7 +95,6 @@ void CommandRun::run(Context ctx) {
File repoFile = Serialize::deserialize<File>(ctx.repo->getObject(Object::ObjectType::File, relPath));
if (!changeDetector.check({repoFile, ctx.repo}, {p, from})) {
addFile(repoFile.id);
ctx.repo->addToCache(repoFile);
progress.print("Skipped: " + relPath, 1);
runnerStats.filesSkipped++;
return;