Skip to content
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

Create .git/hooks dir, of it doesn't exists #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DoBi
Copy link

@DoBi DoBi commented Nov 26, 2020

This pull request fixes #25. Some git clients don't create the hooks folder inside the .git dir. With this changes, cargo-husky creates this folder while installing the hooks.

@Th3Whit3Wolf
Copy link

Can this be merged?

@based64god
Copy link

Would also appreciate getting this merged

@ericsampson
Copy link

Same here, ran into this due to my git client and it wasn't obvious what was going on because the error message isn't especially explicit as to what's going on.

Would be great to get this merged in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fails when hooks dir not exists
4 participants