From dd8bceecf7cabfdab68788a54c85cb7f38f969bb Mon Sep 17 00:00:00 2001 From: Cory Donnelly Date: Mon, 14 Mar 2011 22:55:29 -0400 Subject: [PATCH] Bug #706 - Journal was recording deletions twice, once as a deletion and again as a modification to "" --- src/util.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util.cpp b/src/util.cpp index 9cef49e53..a2da529cf 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -517,7 +517,8 @@ std::string taskInfoDifferences (const Task& before, const Task& after) foreach (name, beforeAtts) if (*name != "uuid" && - before.get (*name) != after.get (*name)) + before.get (*name) != after.get (*name) && + before.get (*name) != "" && after.get (*name) != "") { if (*name == "depends") {