- Fixed on-modify hook regression which stopped hooks from modifying
  tasks.  On a related note, more hooks tests are definitely needed.
This commit is contained in:
Wilhelm Schuermann 2015-03-05 09:23:56 +01:00 committed by Paul Beckingham
parent 7fa3c5ac84
commit 138360b7bc
2 changed files with 3 additions and 0 deletions

View file

@ -22,6 +22,8 @@
forks (thanks to Jens Erat).
- Re-enabled hook script feedback when exiting with 0 exit status.
- The 'info' command now shows virtual tags.
- Fixed major on-modify hooks regression where hooks could no longer modify
the tasks handed to them.
------ current release ---------------------------

View file

@ -358,6 +358,7 @@ void Hooks::onModify (const Task& before, Task& after)
throw 0; // This is how hooks silently terminate processing.
}
}
after = Task (input[1]);
}
context.timer_hooks.stop ();