mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Recurrence: Implemented reduction to single-task problem
This commit is contained in:
parent
2810c70223
commit
45eb2cffbb
1 changed files with 5 additions and 0 deletions
|
@ -41,6 +41,11 @@ static void synthesizeTasks (const Task&)
|
||||||
// Generates all necessary recurring task instances.
|
// Generates all necessary recurring task instances.
|
||||||
void handleRecurrence2 ()
|
void handleRecurrence2 ()
|
||||||
{
|
{
|
||||||
|
// Note: Disabling recurrence is currently a workaround for TD-44, TW-1520.
|
||||||
|
if (context.config.getBoolean ("recurrence"))
|
||||||
|
for (auto& t : context.tdb2.pending.get_tasks ())
|
||||||
|
if (t.getStatus () == Task::recurring)
|
||||||
|
synthesizeTasks (t);
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue