Просмотр исходного кода

fix buggy example for git, solving https://github.com/Kozea/Radicale/issues/876

Peter Bieringer 1 год назад
Родитель
Сommit
0b9a53c73d
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      DOCUMENTATION.md
  2. 1 1
      config

+ 1 - 1
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

+ 1 - 1
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 =