Add imagrc cfg, whether to abort hooks if repo init failed

This commit is contained in:
Matthias Beyer 2016-07-16 17:31:19 +02:00
parent 4436a294e2
commit f689784402

View file

@ -41,12 +41,32 @@ aspect = "debug"
[store.hooks.stdhook_git_create] [store.hooks.stdhook_git_create]
aspect = "vcs" aspect = "vcs"
[store.hooks.stdhook_git_delete] # Fail if the repository cannot be opened. If this is set to `false`, the error
aspect = "vcs" # will be printed, but will not abort the store operation. `true` will print the
# error and abort the store action.
abort_on_repo_init_failure = true
[store.hooks.stdhook_git_retrieve] [store.hooks.stdhook_git_retrieve]
aspect = "vcs" aspect = "vcs"
# 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.
abort_on_repo_init_failure = true
[store.hooks.stdhook_git_delete]
aspect = "vcs"
# 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.
abort_on_repo_init_failure = true
[store.hooks.stdhook_git_update] [store.hooks.stdhook_git_update]
aspect = "vcs" aspect = "vcs"
# 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.
abort_on_repo_init_failure = true