forked from Kozea/Radicale
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
let example hook set user & email at first commit
Fixes Kozea#876
- Loading branch information
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,7 +103,9 @@ | |
#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) | ||
# | ||
# The name and email will only get set at the first commit | ||
# Example: ([ -d .git ] || git init) && ( git config -l | grep "user\.name" > /dev/null || git config user.name "Your Name" ) && ( git config -l | grep "user\.email" > /dev/null || git config user.email "[email protected]" ) && git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s) | ||
#hook = | ||
|
||
|
||
|