mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Sync engine: Take also in account the fact that the instruction can be IGNORE on both tree
This commit is contained in:
parent
1cf956ec21
commit
aabcf80774
1 changed files with 2 additions and 1 deletions
|
@ -265,7 +265,8 @@ int SyncEngine::treewalkFile( TREE_WALK_FILE *file, bool remote )
|
|||
item._file = fileUtf8;
|
||||
item._originalFile = item._file;
|
||||
|
||||
if (item._instruction == CSYNC_INSTRUCTION_NONE) {
|
||||
if (item._instruction == CSYNC_INSTRUCTION_NONE
|
||||
|| (item._instruction == CSYNC_INSTRUCTION_IGNORE && file->instruction != CSYNC_INSTRUCTION_NONE)) {
|
||||
item._instruction = file->instruction;
|
||||
item._modtime = file->modtime;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue