mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-09 00:30:36 +02:00
Refactor task diffs to handle new attributes
This refactors task(Info)Differences to be methods of Task and to correctly handle the `annotation_`, `tags_`, and `dep_` attributes.
This commit is contained in:
parent
7aee9567a3
commit
309e99d49e
14 changed files with 269 additions and 223 deletions
|
@ -134,7 +134,7 @@ int CmdDenotate::execute (std::string&)
|
|||
task.identifier (true),
|
||||
task.get ("description"));
|
||||
|
||||
if (permission (taskDifferences (before, task) + question, filtered.size ()))
|
||||
if (permission (before.diff (task) + question, filtered.size ()))
|
||||
{
|
||||
++count;
|
||||
Context::getContext ().tdb2.modify (task);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue