diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-09-17 17:46:52 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-09-17 18:41:03 +0200 |
commit | 721238ce144cdc344a09147243c2f32561e7f217 (patch) | |
tree | 9d6b71da1fb6c623a23c552179ee6fe681f29c65 /imagrc.toml | |
parent | 47646d608b1f99ecbac586241e6fdae191bf2c97 (diff) |
Add configuration for delete hook
Diffstat (limited to 'imagrc.toml')
-rw-r--r-- | imagrc.toml | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/imagrc.toml b/imagrc.toml index ac323962..83f7e480 100644 --- a/imagrc.toml +++ b/imagrc.toml @@ -66,7 +66,7 @@ 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] +[store.hooks.stdhook_git_update] aspect = "vcs" # Fail if the repository cannot be opened. If this is set to `false`, the error @@ -80,7 +80,21 @@ 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] +# Commit configuration +[store.hooks.stdhook_git_update.commit] + +# Whether to do the commit interactively +interactive = false + +# Set to true to use the $EDITOR for the commit, to false to do on commandline +# When committing without editor, only a single line is allowed as commit +# message +interactive_editor = false + +# Commit message if the commit is not interactive +message = "Update" + +[store.hooks.stdhook_git_delete] aspect = "vcs" # Fail if the repository cannot be opened. If this is set to `false`, the error @@ -95,7 +109,7 @@ ensure_branch = "master" try_checkout_ensure_branch = true # Commit configuration -[store.hooks.stdhook_git_update.commit] +[store.hooks.stdhook_git_delete.commit] # Whether to do the commit interactively interactive = false @@ -106,5 +120,5 @@ interactive = false interactive_editor = false # Commit message if the commit is not interactive -message = "Update" +message = "Deleted" |