mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Bug
- Fixed problem where 'project' was not supported as a verbosity token (thanks to Adam Gibbins).
This commit is contained in:
parent
deb12102f6
commit
80d6655709
17 changed files with 35 additions and 17 deletions
|
@ -112,7 +112,8 @@ int CmdModify::execute (std::string& output)
|
|||
feedback_affected (STRING_CMD_MODIFY_TASK, *task);
|
||||
feedback_unblocked (*task);
|
||||
context.tdb2.modify (*task);
|
||||
projectChanges[task->get ("project")] = onProjectChange (before, *task);
|
||||
if (context.verbose ("project"))
|
||||
projectChanges[task->get ("project")] = onProjectChange (before, *task);
|
||||
|
||||
// Task potentially has siblings - modify them.
|
||||
if (task->has ("parent"))
|
||||
|
@ -132,7 +133,8 @@ int CmdModify::execute (std::string& output)
|
|||
feedback_affected (STRING_CMD_MODIFY_TASK_R, *sibling);
|
||||
feedback_unblocked (*sibling);
|
||||
context.tdb2.modify (*sibling);
|
||||
projectChanges[sibling->get ("project")] = onProjectChange (alternate, *sibling);
|
||||
if (context.verbose ("project"))
|
||||
projectChanges[sibling->get ("project")] = onProjectChange (alternate, *sibling);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -152,7 +154,8 @@ int CmdModify::execute (std::string& output)
|
|||
updateRecurrenceMask (*child);
|
||||
context.tdb2.modify (*child);
|
||||
dependencyChainOnModify (alternate, *child);
|
||||
projectChanges[child->get ("project")] = onProjectChange (alternate, *child);
|
||||
if (context.verbose ("project"))
|
||||
projectChanges[child->get ("project")] = onProjectChange (alternate, *child);
|
||||
++count;
|
||||
feedback_affected (STRING_CMD_MODIFY_TASK_R, *child);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue