summaryrefslogtreecommitdiffstats
path: root/imagrc.toml
diff options
context:
space:
mode:
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