diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index d553f542d..be3890aa8 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 42ce59bf0..3669d3db8 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 =