mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 17:07:19 +02:00
Bug Fix - nag
- TDB::gc now displays a header message. - nag function now piggy-backs on existing locked TDB.
This commit is contained in:
parent
b932d9b9b7
commit
5eb4d23685
3 changed files with 7 additions and 3 deletions
|
@ -401,10 +401,10 @@ void nag (Task& task)
|
|||
{
|
||||
// Load all pending tasks.
|
||||
std::vector <Task> tasks;
|
||||
context.tdb.lock (context.config.get ("locking", true));
|
||||
Filter filter;
|
||||
|
||||
// Piggy-back on existing locked TDB.
|
||||
context.tdb.loadPending (tasks, filter);
|
||||
context.tdb.unlock ();
|
||||
|
||||
// Counters.
|
||||
int overdue = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue