From e40646d30f71bde50ae1d8b6e10262d760efe5de Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Sun, 7 Feb 2016 13:18:25 +0100 Subject: Fix file name of the example hook Signed-off-by: Lukas Fleischer --- contrib/hooks/post-save-commit.sh | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 contrib/hooks/post-save-commit.sh (limited to 'contrib/hooks/post-save-commit.sh') 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 -- cgit v1.2.3-54-g00ecf