aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/post-save-commit.sh
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2016-01-07 18:23:09 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2016-01-07 19:09:46 +0100
commit767214e4f157ae4a74be0b557bd49e24d972970b (patch)
tree46ee50d0e2c729e2892db8c96abc61294980a5fe /contrib/post-save-commit.sh
parentddfe49d9feeba0d280e501f67cda64646e79d901 (diff)
downloadcalcurse-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 'contrib/post-save-commit.sh')
0 files changed, 0 insertions, 0 deletions