Add commit-enable settings for all hooks

This commit is contained in:
Matthias Beyer 2016-09-20 15:26:55 +02:00
parent 91c200ca60
commit 1509e074f8

View file

@ -58,6 +58,10 @@ try_checkout_ensure_branch = true
# Commit configuration # Commit configuration
[store.hooks.stdhook_git_update.commit] [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 # Whether to do the commit interactively
interactive = false interactive = false
@ -89,6 +93,10 @@ try_checkout_ensure_branch = true
# Commit configuration # Commit configuration
[store.hooks.stdhook_git_delete.commit] [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 # Whether to do the commit interactively
interactive = false interactive = false
@ -120,6 +128,11 @@ try_checkout_ensure_branch = true
# Commit configuration # Commit configuration
[store.hooks.stdhook_git_storeunload.commit] [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 # Whether to do the commit interactively
interactive = false interactive = false