mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-30 04:23:24 +02:00
feedback: Replace taskDiff method by Task inequality operator
This commit is contained in:
parent
efab724802
commit
4042cbf964
5 changed files with 4 additions and 34 deletions
|
@ -76,7 +76,7 @@ int CmdModify::execute (std::string& output)
|
|||
Task before (task);
|
||||
task.modify (Task::modReplace);
|
||||
|
||||
if (taskDiff (before, task))
|
||||
if (before != task)
|
||||
{
|
||||
// Abort if change introduces inconsistencies.
|
||||
checkConsistency(before, task);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue