mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
fix buggy example for git, solving https://github.com/Kozea/Radicale/issues/876
This commit is contained in:
parent
e0a22074b4
commit
b1336c2f1f
2 changed files with 2 additions and 2 deletions
|
@ -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 =
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue