sbt-git-hooks
sbt-git-hooks copied to clipboard
Automatically find git hooks directory
I am aware the repo is old but it is the first result for sbt git hooks in google so I think this improvement is worth merging.
Automatic hooks directory inference with git instead of hardcoded string allows to support worktrees and (some) setups with custom directories out-of-the-box.
Solves #2 .