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

Husky v9 and git-lfs don't play nice together #244

Open
mscharley opened this issue Mar 12, 2024 · 0 comments
Open

Husky v9 and git-lfs don't play nice together #244

mscharley opened this issue Mar 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mscharley
Copy link
Owner

mscharley commented Mar 12, 2024

Describe the bug
Husky v9 moves the core.hookspath git configuration into a gitignored folder, and the scripts in this folder call into the .husky/ folder instead of the other way around in <= v8. The upside of this should be that tools like git-lfs can freely write scripts into .husky/ that doesn't require any knowledge of husky. The reality is that git-lfs looks at the git configuration and clobbers husky's scripts. This at least happens outside the git working directory so there are no git changes, but it'll always be unclear if things are interacting correctly and it is impossible to use husky to combine git-lfs with some other thing that needs the same hooks.

@mscharley mscharley added the bug Something isn't working label Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant