mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 21:46:03 +03:00
Update the md5 also if the instruction is not UPDATE.
This commit is contained in:
parent
30d1c9ed9d
commit
bc1e59a048
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