Should influence how we remove the too complicated templateDir install etc. Githooks should only work with core.hooksPath in the future.
[x] Does it work with Git LFS hooks? -> A test git lfs install installs into the set core.hooksPath, but this will be unset when git hooks uninstall is called, and works flawlessly.
[x] Githooks run wrappers are managed centrally inside the ~/.githooks/hooks install directory. This directory was the former ~/.githooks/templates/hooks which is not needed anymore.
[x] Remove all the boilerplate prompts from the install which are unneccesary.
[x] Keep the registered logic, as it makes updating all registered Githooks easier when updating etc...
The discussion here: https://github.com/gabyx/Githooks/issues/140#issuecomment-1949493549
Should influence how we remove the too complicated templateDir install etc. Githooks should only work with
core.hooksPath
in the future.git lfs install
installs into the setcore.hooksPath
, but this will be unset whengit hooks uninstall
is called, and works flawlessly.~/.githooks/hooks
install directory. This directory was the former~/.githooks/templates/hooks
which is not needed anymore.