diff options
author | Lukas Fleischer <lfleischer@calcurse.org> | 2016-02-07 13:10:47 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2016-02-07 13:12:18 +0100 |
commit | cfd9fc316d2d96afbe5a5e3ff1bbc33d199ac850 (patch) | |
tree | ccc150d895dace2f5d5d18c7ba303885aea24e72 /contrib/post-save-commit.sh | |
parent | 812c6b1dd6989b0b630f4eb2c4a0f5c4c4fca7fe (diff) | |
download | calcurse-cfd9fc316d2d96afbe5a5e3ff1bbc33d199ac850.zip |
Move example hook to contrib/hooks/
The contrib/ directory now contains another script that is not directly
related to hooks. Clean things up by placing example hooks in a separate
subdirectory.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'contrib/post-save-commit.sh')
-rw-r--r-- | contrib/post-save-commit.sh | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/contrib/post-save-commit.sh b/contrib/post-save-commit.sh deleted file mode 100644 index d68461a..0000000 --- a/contrib/post-save-commit.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -# -# Copy this file into ~/.calcurse/hooks/ and mark it executable to -# automatically commit any changes to the calcurse data files using Git. - -cd "$HOME"/.calcurse/ -git add * -if ! git diff-index --quiet --cached HEAD; then - git commit -m "Automatic commit by the post-save hook" -fi |