From e7a83118ea3f6a2d1c5e90870c223a1d2fe001ed Mon Sep 17 00:00:00 2001
From: Lukas Fleischer <lfleischer@calcurse.org>
Date: Sun, 7 Feb 2016 13:37:37 +0100
Subject: Do not put all files under version control in example hooks

Modify the Git hooks such they only add known data files to the index.

Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
---
 contrib/caldav/hooks/post-sync | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'contrib/caldav/hooks/post-sync')

diff --git a/contrib/caldav/hooks/post-sync b/contrib/caldav/hooks/post-sync
index 94b6ed3..c119ba7 100755
--- a/contrib/caldav/hooks/post-sync
+++ b/contrib/caldav/hooks/post-sync
@@ -5,7 +5,7 @@
 
 cd "$HOME"/.calcurse/
 
-git add *
+git add apts conf keys todo
 if ! git diff-index --quiet --cached HEAD; then
 	git commit -m "Automatic commit by the post-sync hook"
 fi
-- 
cgit v1.2.3-70-g09d2