From ece7fe061c0d030138b185a26efae34cff4d35c2 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 20 Sep 2016 09:13:19 +0200 Subject: [PATCH] Add settings for enable/disable hook --- imagrc.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/imagrc.toml b/imagrc.toml index 6e6463d4..5dbbf9fc 100644 --- a/imagrc.toml +++ b/imagrc.toml @@ -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.