-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
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
Add ability to extend the set of Git pre-commit hooks #65078
Conversation
@Faless suggested on chat to add In theory it shouldn't be needed as the custom hooks have to be placed in |
be62a5a
to
15ca384
Compare
I'm quite a noob in what comes to Git hooks. How does Git pick additional hooks normally without modifying the list of known pre-commit hooks in the main |
15ca384
to
8e2d0e1
Compare
What I do is symlink the whole But otherwise when not using a symlink, it does require a manual update (at least with the format we use for pre-commit hooks, there are likely other ways to enable them more dynamically, e.g. #46235). |
Oh, I wasn't getting it right. It's clear now. |
Thanks! |
Cherry-picked for 3.6. |
Cherry-picked for 3.5.1. |
This is very useful for forks of Godot with custom needs.