mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
TDB2: Only ever update task if it differs from original
This commit is contained in:
parent
4042cbf964
commit
ab40fae67e
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue