by keybored · 5mo ago · 0 comments
Newest Git supports hook events.
Git-multi-hook predates that, but I updated it to use the new 2.54 config-based format.
The significant advantage of git-multi-hook is that they all run in parallel. I run eight hooks on precommit, so parallelism is a big win.
I will update the README to make note. Thanks!
> Native Git traditionally executes hooks sequentially. However, you can achieve parallel execution by leveraging dedicated third-party hook managers or using built-in shell background processing
.. and that's what git-multi-hook is: a third-party hook manager, that uses shell background processing :)