-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for submodules #38
Comments
Thank you for issue @piotrb! |
Hi I have one issue with my project structure. I'm trying to migrate
The problem is that lefthook looking for It would be nice if it can find parent |
Yea, just need to replace calls form |
Would be awesome as next feature! |
Released in 0.7.0 |
When running lefthook on a checked out submodule the directory structure is not as expected.
This is because in a submodule
.git
is a file with the following content:It sounds simple enough to have lefthook understand that and just follow that relative path instead and drop the hooks there.
(I did a quick test, that's all that's needed, if you drop the hooks in that folder instead it seems to work as expected)
The text was updated successfully, but these errors were encountered: