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
I've made sure the reproduction is publicly accessible
Description of the issue
Reproduction is kind of tedious, because it requires cloning the repo and then creating a git worktree branch checkout.
The issue is that Knip assumes the hooks directory is always .git/hooks, but that is not the case. In a worktree checkout, .git is not a folder but instead a pointer to the real folder.
The text was updated successfully, but these errors were encountered:
Prerequisites
Reproduction url
https://github.com/VanTanev/knip-lefthook-bug-reproduction
Reproduction access
Description of the issue
Reproduction is kind of tedious, because it requires cloning the repo and then creating a git worktree branch checkout.
The issue is that Knip assumes the hooks directory is always
.git/hooks
, but that is not the case. In a worktree checkout,.git
is not a folder but instead a pointer to the real folder.The text was updated successfully, but these errors were encountered: