mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-04 10:37:19 +02:00
Hooks
- 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:
parent
7fa3c5ac84
commit
138360b7bc
2 changed files with 3 additions and 0 deletions
|
@ -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 ---------------------------
|
||||
|
||||
|
|
|
@ -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 ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue