Add example settings for ensure_branch

This commit is contained in:
Matthias Beyer 2016-07-16 17:58:18 +02:00
parent c972b5706d
commit 7ed44cc1b8

View file

@ -46,6 +46,9 @@ aspect = "vcs"
# error and abort the store action. # error and abort the store action.
abort_on_repo_init_failure = true abort_on_repo_init_failure = true
# Ensure to be on this branche before doing anything.
ensure_branch = "master"
[store.hooks.stdhook_git_retrieve] [store.hooks.stdhook_git_retrieve]
aspect = "vcs" aspect = "vcs"
@ -54,6 +57,9 @@ aspect = "vcs"
# error and abort the store action. # error and abort the store action.
abort_on_repo_init_failure = true abort_on_repo_init_failure = true
# Ensure to be on this branche before doing anything.
ensure_branch = "master"
[store.hooks.stdhook_git_delete] [store.hooks.stdhook_git_delete]
aspect = "vcs" aspect = "vcs"
@ -62,6 +68,9 @@ aspect = "vcs"
# error and abort the store action. # error and abort the store action.
abort_on_repo_init_failure = true abort_on_repo_init_failure = true
# Ensure to be on this branche before doing anything.
ensure_branch = "master"
[store.hooks.stdhook_git_update] [store.hooks.stdhook_git_update]
aspect = "vcs" aspect = "vcs"
@ -70,3 +79,6 @@ aspect = "vcs"
# error and abort the store action. # error and abort the store action.
abort_on_repo_init_failure = true abort_on_repo_init_failure = true
# Ensure to be on this branche before doing anything.
ensure_branch = "master"