Skip to content

Commit 0b9a53c

Browse files
committed
fix buggy example for git, solving #876
1 parent 020fd56 commit 0b9a53c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DOCUMENTATION.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ The configuration option `hook` in the `storage` section must be set to
576576
the following command:
577577

578578
```bash
579-
git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s)
579+
git add -A && (git diff --cached --quiet || git commit -m "Changes by \"%(user)s\"")
580580
```
581581

582582
The command gets executed after every change to the storage and commits

config

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
#max_sync_token_age = 2592000
9898

9999
# Command that is run after changes to storage
100-
# Example: ([ -d .git ] || git init) && git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s)
100+
# Example: ([ -d .git ] || git init) && git add -A && (git diff --cached --quiet || git commit -m "Changes by \"%(user)s\"")
101101
#hook =
102102

103103

0 commit comments

Comments
 (0)