summaryrefslogtreecommitdiffstats
path: root/contrib/hooks/post-save-commit.sh
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2016-02-07 13:18:25 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2016-02-07 13:18:25 +0100
commite40646d30f71bde50ae1d8b6e10262d760efe5de (patch)
tree2956f1c07b683556576f86e8bd050432c9b515f9 /contrib/hooks/post-save-commit.sh
parentcfd9fc316d2d96afbe5a5e3ff1bbc33d199ac850 (diff)
downloadcalcurse-e40646d30f71bde50ae1d8b6e10262d760efe5de.tar.gz
calcurse-e40646d30f71bde50ae1d8b6e10262d760efe5de.zip
Fix file name of the example hook
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'contrib/hooks/post-save-commit.sh')
-rw-r--r--contrib/hooks/post-save-commit.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/contrib/hooks/post-save-commit.sh b/contrib/hooks/post-save-commit.sh
deleted file mode 100644
index d68461a..0000000
--- a/contrib/hooks/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