mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Context: Now obeys command DNA
- Applying a context filter is now performed only when a command requests it.
This commit is contained in:
parent
8d5a60a2a2
commit
758df84539
6 changed files with 14 additions and 11 deletions
|
@ -296,7 +296,7 @@ void TF2::load_tasks ()
|
|||
{
|
||||
Task::status status = task.getStatus ();
|
||||
// Completed / deleted tasks in pending.data get an ID if GC is off.
|
||||
if (!context.run_gc ||
|
||||
if (! context.run_gc ||
|
||||
(status != Task::completed && status != Task::deleted))
|
||||
task.id = context.tdb2.next_id ();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue