summaryrefslogtreecommitdiffstats
path: root/imagrc.toml
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-07-16 18:01:02 +0200
committerMatthias Beyer <mail@beyermatthias.de>2016-09-07 22:05:28 +0200
commit0892aa36f890f5d044c242c4d0fbd9cd9daaf599 (patch)
tree50df0f3314c5c3daa381a0bb17c2bfa6e9124b7b /imagrc.toml
parenta356a96a992430ae37e1df8570ea1a43dfeee3fa (diff)
Add example setting for trying to checkout the ensure_branch branch
Diffstat (limited to 'imagrc.toml')
-rw-r--r--imagrc.toml12
1 files changed, 12 insertions, 0 deletions
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
+