Skip to content

Commit d830614

Browse files
committedOct 18, 2017
Suppress "copying 0 paths" message
1 parent b24b8ef commit d830614

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/libstore/store-api.cc

+2
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,8 @@ void copyPaths(ref<Store> srcStore, ref<Store> dstStore, const PathSet & storePa
619619
for (auto & path : storePaths)
620620
if (!valid.count(path)) missing.insert(path);
621621

622+
if (missing.empty()) return;
623+
622624
Activity act(*logger, lvlInfo, actCopyPaths, fmt("copying %d paths", missing.size()));
623625

624626
std::atomic<size_t> nrDone{0};

0 commit comments

Comments
 (0)
Please sign in to comment.