-
Notifications
You must be signed in to change notification settings - Fork 63
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
Can't install under a submodule #46
Comments
After looking into it a little bit, git references githooks in a different directory for submodules. I think we could use something like this to identify the correct directory to install our githooks. Would you be willing to makeapullrequest.com? |
@kentcdodds will do |
@leandroferreira @lferreirawork is this something you're actively working on? A result may also relate to a possible solution for #66 |
@ta2edchimp all yours! |
Thanks for the feedback! |
…into account Closes ghooks-org#66 & closes ghooks-org#46
When installing under a git submodule,
installHooks()
correctly finds a .git folder (for the submodule), but can'tresolve(gitRoot, '.git/hooks')
, resulting in the following error:The text was updated successfully, but these errors were encountered: