From 1509e074f8005cd5275319a72a03cdfa7de285fc Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 20 Sep 2016 15:26:55 +0200 Subject: [PATCH] Add commit-enable settings for all hooks --- imagrc.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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