[Pkg-owncloud-commits] [owncloud-client] 185/219: No need to update mtime and etag after a move
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Oct 11 14:43:24 UTC 2014
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit db02d44c6afb19100af94661ad5b3d5eecc96015
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Wed Oct 1 11:20:21 2014 +0200
No need to update mtime and etag after a move
The server keeps the mtime and etag anyway.
And changing the mtime also changes the etag and so make other clients re-download
the file instead of detecting the move
---
src/mirall/propagatorjobs.cpp | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/mirall/propagatorjobs.cpp b/src/mirall/propagatorjobs.cpp
index 619950b..28ed08f 100644
--- a/src/mirall/propagatorjobs.cpp
+++ b/src/mirall/propagatorjobs.cpp
@@ -304,9 +304,6 @@ void PropagateRemoteRename::start()
if (updateErrorFromSession(rc)) {
return;
}
-
- if (!updateMTimeAndETag(uri2.data(), _item._modtime))
- return;
}
// Wed, 15 Nov 1995 06:25:24 GMT
QDateTime dt = QDateTime::currentDateTimeUtc();
--
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