Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
misc: Add the legacy gem5 .git/hooks to the pre-commit
The gem5 commit msg checker must be run during the 'commit-msg' stage ergo this is explicitly set. The other hooks are only applicable to the "commit" stage, the `default_stage` for the hooks. To install all the hooks, you need to run the following: ``` pre-commit install -t pre-commit -t commit-msg ``` This ensures both the 'commit-msg' and 'pre-commit' hooks are installed. If you run just `pre-commit install`, only the pre-commit hooks are installed. Change-Id: I4a0dcc7159ed5048baa120adf80bbf65f63c11dd Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/62552 Tested-by: kokoro <[email protected]> Reviewed-by: Andreas Sandberg <[email protected]> Reviewed-by: Jason Lowe-Power <[email protected]> Maintainer: Jason Lowe-Power <[email protected]>
- Loading branch information