mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-04 12:28:35 +02:00
Bug
- Fixed an even worse bug whereby TDB2::gc never even bothered to load the data before running the GC. Sigh.
This commit is contained in:
parent
1e510f66ef
commit
8bf1386b78
1 changed files with 2 additions and 2 deletions
|
@ -1535,8 +1535,8 @@ int TDB2::gc ()
|
||||||
// Allowed as a temporary override.
|
// Allowed as a temporary override.
|
||||||
if (context.config.getBoolean ("gc"))
|
if (context.config.getBoolean ("gc"))
|
||||||
{
|
{
|
||||||
std::vector <Task> pending_tasks;
|
std::vector <Task> pending_tasks = pending.get_tasks ();
|
||||||
std::vector <Task> completed_tasks;
|
std::vector <Task> completed_tasks = completed.get_tasks ();
|
||||||
|
|
||||||
bool pending_changes = false;
|
bool pending_changes = false;
|
||||||
bool completed_changes = false;
|
bool completed_changes = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue