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

Submodules issue #291

Closed
icetbr opened this issue Jun 29, 2022 · 2 comments · Fixed by #300
Closed

Submodules issue #291

icetbr opened this issue Jun 29, 2022 · 2 comments · Fixed by #300

Comments

@icetbr
Copy link

icetbr commented Jun 29, 2022

Hi, I just installed lefthook 1.0.4 and running npx lefthook install in a module results in this error:

SYNCING
Error: open /home/MYUSER/MYPROJECT/MYMODULE/home/MYUSER/MYPROJECT/.git/modules/MYMODULE/hooks/pre-commit: no such file or directory

My module's .git file is like this

gitdir: ../.git/modules/MYMODULE

It seems related to this issue #104

@mrexox
Copy link
Member

mrexox commented Jul 19, 2022

Hey! Could you test it with lefthook v1.0.5? Does the issue persist?

@icetbr
Copy link
Author

icetbr commented Jul 19, 2022

It does, thank you.

@mrexox mrexox pinned this issue Jan 20, 2023
@mrexox mrexox unpinned this issue Mar 16, 2023
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 a pull request may close this issue.

2 participants