Git hooks available for one project but not another?


I have 2 projects open concurrently atm and I just noticed that project B, despite having a .pre-commit-config.yaml file, does not run the commit hooks. I compared profiles and the checkbox is present for project A, but not project B. I can't find any setting that would change this, nor do I remember explicitly setting it on project A. IIRC I just cloned the repo and the checks were executed.


Do you have hooks configured in the .git/hooks file for the second project?