mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Bug
- The modify command no longer claims that a task was modified if no changes were applied.
This commit is contained in:
parent
19f598419e
commit
9ada2f554a
3 changed files with 26 additions and 25 deletions
|
@ -78,7 +78,8 @@ int CmdModify::execute (std::string& output)
|
|||
Task before (*task);
|
||||
modify_task_description_replace (*task, modifications);
|
||||
|
||||
if (permission.confirmed (*task, taskDifferences (before, *task) + "Proceed with change?"))
|
||||
if (taskDiff (before, *task) &&
|
||||
permission.confirmed (*task, taskDifferences (before, *task) + "Proceed with change?"))
|
||||
{
|
||||
++count;
|
||||
context.tdb2.modify (*task);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue