diff options
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 |