[Pkg-owncloud-commits] [owncloud-client] 40/60: Clear csync rename mappings after reconcile

Sandro Knauß hefee at debian.org
Sat Dec 16 10:38:13 UTC 2017


This is an automated email from the git hooks/post-receive script.

hefee pushed a commit to branch upstream
in repository owncloud-client.

commit 99f32dcb99c6f2f99914aa5b4ec254ba0d48e3ba
Author: Christian Kamm <mail at ckamm.de>
Date:   Tue Dec 5 13:41:27 2017 +0100

    Clear csync rename mappings after reconcile
    
    They were being preserved *across sync runs*.
---
 src/csync/csync.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/csync/csync.cpp b/src/csync/csync.cpp
index 4f0c199..e6291f4 100644
--- a/src/csync/csync.cpp
+++ b/src/csync/csync.cpp
@@ -314,6 +314,9 @@ int csync_s::reinitialize() {
   local.files.clear();
   remote.files.clear();
 
+  renames.folder_renamed_from.clear();
+  renames.folder_renamed_to.clear();
+
   status = CSYNC_STATUS_INIT;
   SAFE_FREE(error_string);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list