Răsfoiți Sursa

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

Peter Bieringer 1 an în urmă
părinte
comite
0b9a53c73d
2 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  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 =