mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
Update the md5 also if the instruction is not UPDATE.
This commit is contained in:
parent
dba2c1d105
commit
868a07c322
1 changed files with 4 additions and 0 deletions
|
@ -1118,6 +1118,10 @@ static int _csync_correct_id(CSYNC *ctx) {
|
|||
} else {
|
||||
tfs = c_rbtree_node_data(node);
|
||||
tfs->md5 = _get_md5(ctx, path);
|
||||
if( tfs->instruction != CSYNC_INSTRUCTION_UPDATED ) {
|
||||
/* set instruction for the statedb merger */
|
||||
tfs->instruction = CSYNC_INSTRUCTION_UPDATED;
|
||||
}
|
||||
|
||||
CSYNC_LOG(CSYNC_LOG_PRIORITY_TRACE, "MD5 for dir: %s %s", tfs->path, tfs->md5);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue