From 15ec2be6b2e6d3186e3f9a5afe017c30b04ece4e Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Wed, 3 Apr 2024 13:29:58 +0200 Subject: [PATCH] do not cause implicit hydration of virtual files during sync Signed-off-by: Matthieu Gallien --- src/libsync/discovery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsync/discovery.cpp b/src/libsync/discovery.cpp index 86450a2a53e41..ccfb0c25f982e 100644 --- a/src/libsync/discovery.cpp +++ b/src/libsync/discovery.cpp @@ -1036,7 +1036,7 @@ void ProcessDirectoryJob::processFileAnalyzeLocalInfo( item->_status = SyncFileItem::Status::NormalError; } - { + if (item->_type != CSyncEnums::ItemTypeVirtualFile) { const auto foundEditorsKeepingFileBusy = queryEditorsKeepingFileBusy(item, path); if (!foundEditorsKeepingFileBusy.isEmpty()) { item->_instruction = CSYNC_INSTRUCTION_ERROR;