Skip to content

feat: Remove --templateDir install mode and only use core.hooksPath #152

@gabyx

Description

@gabyx

The discussion here: #140 (comment)

Should influence how we remove the too complicated templateDir install etc. Githooks should only work with core.hooksPath in the future.

  • 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.
  • 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.
  • Remove all the boilerplate prompts from the install which are unneccesary.
  • Keep the registered logic, as it makes updating all registered Githooks easier when updating etc...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions