mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Enhancement - debug support
- Added debug=on support. - Added color.debug= support.
This commit is contained in:
parent
173b3f6828
commit
02518e0223
7 changed files with 56 additions and 30 deletions
|
@ -389,8 +389,6 @@ int TDB::gc ()
|
|||
{
|
||||
int count = 0;
|
||||
|
||||
context.header ("gc");
|
||||
|
||||
// Set up a second TDB.
|
||||
Filter filter;
|
||||
TDB tdb;
|
||||
|
@ -443,6 +441,9 @@ int TDB::gc ()
|
|||
// Close files.
|
||||
tdb.unlock ();
|
||||
|
||||
std::stringstream s;
|
||||
s << "gc " << count << " tasks";
|
||||
context.debug (s.str ());
|
||||
return count;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue