From 0892aa36f890f5d044c242c4d0fbd9cd9daaf599 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 16 Jul 2016 18:01:02 +0200 Subject: [PATCH] Add example setting for trying to checkout the ensure_branch branch --- imagrc.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/imagrc.toml b/imagrc.toml index ed6570e2..29b93e22 100644 --- a/imagrc.toml +++ b/imagrc.toml @@ -49,6 +49,9 @@ abort_on_repo_init_failure = true # Ensure to be on this branche before doing anything. ensure_branch = "master" +# Try to checkout the ensure_branch if it isn't checked out +try_checkout_ensure_branch = true + [store.hooks.stdhook_git_retrieve] aspect = "vcs" @@ -60,6 +63,9 @@ abort_on_repo_init_failure = true # Ensure to be on this branche before doing anything. ensure_branch = "master" +# Try to checkout the ensure_branch if it isn't checked out +try_checkout_ensure_branch = true + [store.hooks.stdhook_git_delete] aspect = "vcs" @@ -71,6 +77,9 @@ abort_on_repo_init_failure = true # Ensure to be on this branche before doing anything. ensure_branch = "master" +# Try to checkout the ensure_branch if it isn't checked out +try_checkout_ensure_branch = true + [store.hooks.stdhook_git_update] aspect = "vcs" @@ -82,3 +91,6 @@ abort_on_repo_init_failure = true # Ensure to be on this branche before doing anything. ensure_branch = "master" +# Try to checkout the ensure_branch if it isn't checked out +try_checkout_ensure_branch = true +