mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 07:57:20 +02:00
Enhancement
- Re-enabled the onProjectChange function, and upgraded it to TDB2. Now it does a lot less, which is another way of saying it is faster.
This commit is contained in:
parent
c54bb8a42a
commit
d37e46cc48
3 changed files with 15 additions and 38 deletions
|
@ -60,7 +60,7 @@ int CmdAdd::execute (std::string& output)
|
|||
if (context.verbose ("new-id"))
|
||||
output = format (STRING_CMD_ADD_FEEDBACK, context.tdb2.next_id ()) + "\n";
|
||||
|
||||
// TODO context.footnote (onProjectChange (task));
|
||||
context.footnote (onProjectChange (task));
|
||||
|
||||
context.tdb2.commit ();
|
||||
return rc;
|
||||
|
|
|
@ -66,9 +66,7 @@ int CmdLog::execute (std::string& output)
|
|||
|
||||
context.tdb2.add (task);
|
||||
|
||||
/*
|
||||
TODO context.footnote (onProjectChange (task));
|
||||
*/
|
||||
context.footnote (onProjectChange (task));
|
||||
context.tdb2.commit ();
|
||||
|
||||
if (context.config.getBoolean ("echo.command"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue