diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-07-16 17:31:19 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-09-07 22:05:28 +0200 |
commit | f6897844020ba5723c73ad8baced2b05e1fc249d (patch) | |
tree | c908d4c60553a7e7ed6af94769d51db042bff170 /imagrc.toml | |
parent | 4436a294e2cd5c1dda195d0ea05c31e351a45cf0 (diff) |
Add imagrc cfg, whether to abort hooks if repo init failed
Diffstat (limited to 'imagrc.toml')
-rw-r--r-- | imagrc.toml | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/imagrc.toml b/imagrc.toml index af8145a5..37023ac3 100644 --- a/imagrc.toml +++ b/imagrc.toml @@ -41,12 +41,32 @@ aspect = "debug" [store.hooks.stdhook_git_create] aspect = "vcs" -[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_retrieve] 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] 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 + |