diff options
author | allexzander <blackslayer4@gmail.com> | 2021-05-31 18:30:20 +0300 |
---|---|---|
committer | Matthieu Gallien (Rebase PR Action) <matthieu_gallien@yahoo.fr> | 2021-06-08 12:25:43 +0300 |
commit | bb55232e8ee6afbbfce5effda76961d6444f7926 (patch) | |
tree | 071957fc668fe7c485287a02ee084f7f6136e72f /src/libsync/discovery.cpp | |
parent | 1951eec009a7832c7c12b7313bdca4992b6217e3 (diff) |
VFS freeze fix. Treat .sync-exclude.lst as a non-virtual file always.
Signed-off-by: allexzander <blackslayer4@gmail.com>
Diffstat (limited to 'src/libsync/discovery.cpp')
-rw-r--r-- | src/libsync/discovery.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsync/discovery.cpp b/src/libsync/discovery.cpp index 5b0873bdd..530f67a51 100644 --- a/src/libsync/discovery.cpp +++ b/src/libsync/discovery.cpp @@ -521,7 +521,8 @@ void ProcessDirectoryJob::processFileAnalyzeRemoteInfo( if (!localEntry.isValid() && item->_type == ItemTypeFile && opts._vfs->mode() != Vfs::Off - && _pinState != PinState::AlwaysLocal) { + && _pinState != PinState::AlwaysLocal + && !FileSystem::isExcludeFile(item->_file)) { item->_type = ItemTypeVirtualFile; if (isVfsWithSuffix()) addVirtualFileSuffix(tmp_path._original); |