Add settings for enable/disable hook

This commit is contained in:
Matthias Beyer 2016-09-20 09:13:19 +02:00
parent ba1df8bb48
commit ece7fe061c

View file

@ -41,6 +41,9 @@ aspect = "debug"
[store.hooks.stdhook_git_update]
aspect = "vcs"
# set to false to disable
enabled = true
# Fail if the repository cannot be opened. If this is set to `false`, the error
# will be printed, but will not abort the store operation. `true` will print the
# error and abort the store action.
@ -69,6 +72,9 @@ message = "Update"
[store.hooks.stdhook_git_delete]
aspect = "vcs"
# set to false to disable
enabled = true
# Fail if the repository cannot be opened. If this is set to `false`, the error
# will be printed, but will not abort the store operation. `true` will print the
# error and abort the store action.