From 1c357a56367e9635e27855afa2a02873a854ff81 Mon Sep 17 00:00:00 2001 From: jre Date: Sat, 22 Apr 2017 17:40:29 +0200 Subject: [PATCH] Add git init to config hook example The example code previously required to manually create a git repo first. Above change automates this. --- config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config b/config index 6ddecce..e68699e 100644 --- a/config +++ b/config @@ -109,7 +109,7 @@ #filesystem_close_lock_file = False # Command that is run after changes to storage -# Example: git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s) +# Example: ([ -d .git ] || git init) && git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s) #hook =