Is there a way to set a pre commit git hook in a project's source code? So that the same hook only runs on that project and not on every project using git.
Note that it works best to have that install script create symbolic links for the git hooks rather than copy, so that they can be updated without having to rerun the install script.