Add example setting for trying to checkout the ensure_branch branch
This commit is contained in:
parent
a356a96a99
commit
0892aa36f8
1 changed files with 12 additions and 0 deletions
12
imagrc.toml
12
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue