Skip to content

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

Open
DoBi wants to merge 1 commit intorhysd:masterfrom
DoBi:master
Open

Create .git/hooks dir, of it doesn't exists#27
DoBi wants to merge 1 commit intorhysd:masterfrom
DoBi:master

Conversation

@DoBi
Copy link
Copy Markdown

@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
Copy Markdown

Can this be merged?

@based64god
Copy link
Copy Markdown

Would also appreciate getting this merged

@ericsampson
Copy link
Copy Markdown

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