mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Enhancement - delete sequences
- Implemented sequences for delete command - Renamed T::inSequence to T::sequenceContains, which makes the code read more naturally.
This commit is contained in:
parent
fb674a5626
commit
b67b27f5cd
4 changed files with 10 additions and 13 deletions
|
@ -271,8 +271,7 @@ std::string handleInfo (TDB& tdb, T& task, Config& conf)
|
|||
{
|
||||
T refTask (tasks[i]);
|
||||
|
||||
if (refTask.getId () == task.getId () ||
|
||||
task.inSequence (refTask.getId ()))
|
||||
if (refTask.getId () == task.getId () || task.sequenceContains (refTask.getId ()))
|
||||
{
|
||||
++count;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue