Suppress "copying 0 paths" message

This commit is contained in:
Eelco Dolstra
2017-10-18 15:02:58 +02:00
parent b24b8ef77c
commit d8306148e0
+2
View File
@@ -619,6 +619,8 @@ void copyPaths(ref<Store> srcStore, ref<Store> dstStore, const PathSet & storePa
for (auto & path : storePaths)
if (!valid.count(path)) missing.insert(path);
if (missing.empty()) return;
Activity act(*logger, lvlInfo, actCopyPaths, fmt("copying %d paths", missing.size()));
std::atomic<size_t> nrDone{0};