You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gitlint no longer hardcodes the path of the commit-msg hook, but takes the
correct path from git itself. This fixes issues with using git worktrees.
This fixes#68.
Because of https://github.com/jorisroovers/gitlint/blob/master/gitlint/hooks.py#L7 being hard-coded as
.git/hooks
, theinstall-hooks
command doesn't seem to work when using git worktrees. Worktrees keep all of their hooks in the main repository folder.The text was updated successfully, but these errors were encountered: