diff options
author | Lukas Fleischer <lfleischer@calcurse.org> | 2016-01-07 18:23:09 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2016-01-07 19:09:46 +0100 |
commit | 767214e4f157ae4a74be0b557bd49e24d972970b (patch) | |
tree | 46ee50d0e2c729e2892db8c96abc61294980a5fe /src/custom.c | |
parent | ddfe49d9feeba0d280e501f67cda64646e79d901 (diff) | |
download | calcurse-767214e4f157ae4a74be0b557bd49e24d972970b.tar.gz calcurse-767214e4f157ae4a74be0b557bd49e24d972970b.zip |
Add pre-save and post-save hooks
This adds support for hooks which are executed before/after saving
calcurse data. Hooks can be placed under hooks/pre-save and
hooks/post-save in the data directory and need to be executable.
Potential use cases include:
* Automatically commit any changes to the data files using a VCS.
* Automatically sync with some sever component on data file changes.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/custom.c')
0 files changed, 0 insertions, 0 deletions