From 0b9a53c73d18e2a2306ea7346fab1358d91493e0 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Thu, 14 Mar 2024 22:01:19 +0100 Subject: [PATCH] fix buggy example for git, solving https://github.com/Kozea/Radicale/issues/876 --- DOCUMENTATION.md | 2 +- config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index 9078681ff..2ffc40898 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md @@ -576,7 +576,7 @@ The configuration option `hook` in the `storage` section must be set to the following command: ```bash -git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s) +git add -A && (git diff --cached --quiet || git commit -m "Changes by \"%(user)s\"") ``` The command gets executed after every change to the storage and commits diff --git a/config b/config index 0920a02c6..3df6a485f 100644 --- a/config +++ b/config @@ -97,7 +97,7 @@ #max_sync_token_age = 2592000 # Command that is run after changes to storage -# Example: ([ -d .git ] || git init) && 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 =