[Pkg-owncloud-commits] [owncloud-client] 326/333: Ignore changes on .owncloudsync.log in the linux filewatcher.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Thu Apr 17 23:17:10 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 7c40dc1a9ab898f80b32f69770e6266c5c259026
Author: Klaas Freitag <freitag at owncloud.com>
Date: Tue Apr 8 13:05:51 2014 +0200
Ignore changes on .owncloudsync.log in the linux filewatcher.
Also remove some verbose and unused logging.
---
src/mirall/folderwatcher_linux.cpp | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/mirall/folderwatcher_linux.cpp b/src/mirall/folderwatcher_linux.cpp
index 71226dc..58abe20 100644
--- a/src/mirall/folderwatcher_linux.cpp
+++ b/src/mirall/folderwatcher_linux.cpp
@@ -170,9 +170,10 @@ void FolderWatcherPrivate::slotReceivedNotification(int fd)
// Note: The name of the changed file and stuff could be taken from
// the event data structure. That does not happen yet.
if (event->len > 0 && event->wd > -1) {
- qDebug() << Q_FUNC_INFO << event->name;
- if (QByteArray(event->name).startsWith(".csync")) {
- qDebug() << "ignore journal";
+ // qDebug() << Q_FUNC_INFO << event->name;
+ if (QByteArray(event->name).startsWith(".csync") ||
+ QByteArray(event->name) == ".owncloudsync.log") {
+ // qDebug() << "ignore journal";
} else {
const QString p = _watches[event->wd];
_parent->changeDetected(p);
--
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