Commit c8aebd5
[rocm-libraries] ROCm/rocm-libraries#6120 (commit 9f99eb6)
fix: synchronize all hooks and scripts via symbolic linking
(#6120)
## Motivation
The git hooks for various sub-projects were out-of-date and I got really
annoyed at having to manual check things.
This change is a developer quality-of-life change only. There are no
changes relevant for downstream users.
## Technical Details
* Updates scripts and git hooks to work with monorepo.
* rocPRIM is now ground-truth for these scripts and are linked together
via symbolic links.
* git hooks can still be installed via
`projects/{project}/.githooks/install`
## Test Plan
Install githooks via `projects/{project}/.githooks/install` and modify a
file and try to commit it.
## Test Result
It will now yell at you if you try to commit something wrong if git
hooks have been installed.
## Submission Checklist
- [x] Look over the contributing guidelines at
https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests.1 parent 96d3d08 commit c8aebd5
4 files changed
Lines changed: 3 additions & 313 deletions
File tree
- .githooks
- scripts
- code-format
- copyright-date
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments