Summary
Pre-commit's xargs implementation can be run in parallel, reducing the time it takes to run tests.
1
This feature can be opted-in or opted-out for read/write hooks, which can be more accurate and avoid interleaved output.
1
Pre-commit is designed to not require root access.
2
According to
See more results on Neeva
Summaries from the best pages on the web
Summary
This task discusses a patch that would allow pre-commit's xargs implementation to run in parallel, which would reduce the time it takes to run tests. The patch also suggests an opt-in or opt-out feature for read/write hooks, which could be more accurate and would avoid interleaved output. The task was closed as completed in #851.
Parallel execution of individual hooks? · Issue #510 · pre-commit/pre-commit · GitHub
github.com
Summary
pre-commit is specifically designed to not require root access.
pre-commit
pre-commit.com
Runs make commands with -j (parallel) before commit. Latest version: 0.1.1, last published: 8 years ago. Start using pre-commit-make-parallel in your project ...
pre-commit-make-parallel - npm
npmjs.com
Have you ever wondered if there was any way to run a script before you commit something? ... We are now entering a parallel universe with a ton of bugs to ...
Simple pre-commit git hooks with Husky
andreasrein.net