You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 likegit-lfs
can freely write scripts into.husky/
that doesn't require any knowledge of husky. The reality is thatgit-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.The text was updated successfully, but these errors were encountered: