summaryrefslogtreecommitdiffstats
path: root/imagrc.toml
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-09-20 15:26:55 +0200
committerMatthias Beyer <mail@beyermatthias.de>2016-10-06 18:41:12 +0200
commit1509e074f8005cd5275319a72a03cdfa7de285fc (patch)
treea536592e5517a042abbea5649a87ade9724eaeb2 /imagrc.toml
parent91c200ca6061ffaeffe55eb1614248f766319079 (diff)
Add commit-enable settings for all hooks
Diffstat (limited to 'imagrc.toml')
-rw-r--r--imagrc.toml13
1 files changed, 13 insertions, 0 deletions
diff --git a/imagrc.toml b/imagrc.toml
index 2a9942f4..a2b83804 100644
--- a/imagrc.toml
+++ b/imagrc.toml
@@ -58,6 +58,10 @@ try_checkout_ensure_branch = true
# Commit configuration
[store.hooks.stdhook_git_update.commit]
+# Enable committing here. If not enabled, the "stdhook_git_storeunload" hook
+# will commit all changes in one commit when the store is closed.
+enabled = false
+
# Whether to do the commit interactively
interactive = false
@@ -89,6 +93,10 @@ try_checkout_ensure_branch = true
# Commit configuration
[store.hooks.stdhook_git_delete.commit]
+# Enable committing here. If not enabled, the "stdhook_git_storeunload" hook
+# will commit all changes in one commit when the store is closed.
+enabled = false
+
# Whether to do the commit interactively
interactive = false
@@ -120,6 +128,11 @@ try_checkout_ensure_branch = true
# Commit configuration
[store.hooks.stdhook_git_storeunload.commit]
+# Enable on-unload-committing, causing the store-unload hook to commit the
+# changes to the store. This has no effect if the changes were already committed
+# by the other git hooks.
+enabled = true
+
# Whether to do the commit interactively
interactive = false