mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-29 12:19:03 +03:00
csync_update: do not force writing on the db for directory with a changed date
Fixes #2584
This commit is contained in:
parent
b1d392e415
commit
a2803e4f5f
1 changed files with 3 additions and 1 deletions
|
@ -761,8 +761,10 @@ int csync_ftw(CSYNC *ctx, const char *uri, csync_walker_fn fn,
|
||||||
if (ctx->current_fs && !ctx->current_fs->child_modified
|
if (ctx->current_fs && !ctx->current_fs->child_modified
|
||||||
&& ctx->current_fs->instruction == CSYNC_INSTRUCTION_EVAL) {
|
&& ctx->current_fs->instruction == CSYNC_INSTRUCTION_EVAL) {
|
||||||
ctx->current_fs->instruction = CSYNC_INSTRUCTION_NONE;
|
ctx->current_fs->instruction = CSYNC_INSTRUCTION_NONE;
|
||||||
|
if (ctx->current == REMOTE_REPLICA) {
|
||||||
ctx->current_fs->should_update_etag = true;
|
ctx->current_fs->should_update_etag = true;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (ctx->current_fs && previous_fs && ctx->current_fs->has_ignored_files) {
|
if (ctx->current_fs && previous_fs && ctx->current_fs->has_ignored_files) {
|
||||||
/* If a directory has ignored files, put the flag on the parent directory as well */
|
/* If a directory has ignored files, put the flag on the parent directory as well */
|
||||||
|
|
Loading…
Reference in a new issue