Closed gabyx closed 4 years ago
Scenario (up to now):
--single
only the hooks in this repos are updated.Scenario to have:
RepoA triggers an update (by git commit
).
githooks.autoupdate.alwaysGlobal = true
:
install.sh --single --global
:--non-interactive
)install.sh --single
User triggers git hooks update
:
githooks.autoupdate.alwaysGlobal = true
:
install.sh --global
...Need a better explanation. Sorry.
Could we have a githooks option
githooks.autoupdate.alwaysGlobal
such that the global templates get always updated. To make sure, when an update on the system happens, not only the local repo hook scripts get updated but also the global template folder. That would drastically reduce the risk of template folder and local repo hooks are out of sync.Shouldn't that be the default behavior. That would be great.
I dont want to use the
core.hooksPath
because its to global for the system.