projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
765c123
)
Do not attempt to convert .lnk files to placeholder. Also do not modify folders'...
author
alex-z
<blackslayer4@gmail.com>
Thu, 14 Sep 2023 11:14:16 +0000
(13:14 +0200)
committer
Matthieu Gallien
<matthieu_gallien@yahoo.fr>
Thu, 14 Sep 2023 20:27:34 +0000
(22:27 +0200)
Signed-off-by: alex-z <blackslayer4@gmail.com>
src/libsync/discovery.cpp
patch
|
blob
|
history
diff --git
a/src/libsync/discovery.cpp
b/src/libsync/discovery.cpp
index ee694c2bb0315951ac2a7ebb9eeb4a14fdd9eaf6..e33dda14d4387010fc4152877b0089a42c56319c 100644
(file)
--- a/
src/libsync/discovery.cpp
+++ b/
src/libsync/discovery.cpp
@@
-1101,7
+1101,7
@@
void ProcessDirectoryJob::processFileAnalyzeLocalInfo(
item->_type = ItemTypeVirtualFileDehydration;
} else if (!serverModified
&& (dbEntry._inode != localEntry.inode
- ||
localEntry.isMetadataMissing
+ ||
(localEntry.isMetadataMissing && item->_type == ItemTypeFile && !FileSystem::isLnkFile(item->_file))
|| _discoveryData->_syncOptions._vfs->needsMetadataUpdate(*item))) {
item->_instruction = CSYNC_INSTRUCTION_UPDATE_METADATA;
item->_direction = SyncFileItem::Down;