TDB2: Only ever update task if it differs from original
This commit is contained in:
committed by
Paul Beckingham
parent
4042cbf964
commit
ab40fae67e
@@ -586,6 +586,10 @@ void TDB2::update (
|
||||
Task original;
|
||||
if (not addition && get (task.get ("uuid"), original))
|
||||
{
|
||||
// Update only if the tasks differ
|
||||
if (task == original)
|
||||
return;
|
||||
|
||||
if (add_to_backlog)
|
||||
{
|
||||
// All locally modified tasks are timestamped, implicitly overwriting any
|
||||
|
||||
Reference in New Issue
Block a user