fix buggy example for git, solving https://github.com/Kozea/Radicale/issues/876
This commit is contained in:
@@ -576,7 +576,7 @@ The configuration option `hook` in the `storage` section must be set to
|
|||||||
the following command:
|
the following command:
|
||||||
|
|
||||||
```bash
|
```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
|
The command gets executed after every change to the storage and commits
|
||||||
|
|||||||
2
config
2
config
@@ -97,7 +97,7 @@
|
|||||||
#max_sync_token_age = 2592000
|
#max_sync_token_age = 2592000
|
||||||
|
|
||||||
# Command that is run after changes to storage
|
# 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 =
|
#hook =
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user