aboutsummaryrefslogtreecommitdiff
path: root/.hooks
Commit message (Collapse)AuthorAgeFilesLines
* .hooks/prepare-commit-msg: Enhance commit-msg hook.Mathieu Arnold2021-06-041-0/+19
| | | | | If a single port is updated, the hook now pre-fills in an appropriate subject line.
* .hooks/prepare-commit-msg: Cleanup.Mathieu Arnold2021-06-041-3/+8
| | | | | Instead of writing everything in the new commit template all at once in a large here document, do it cleanly one command at a time.
* git hooks: Rework authorship instructions.Mathieu Arnold2021-04-221-2/+4
| | | | | While there, move them upwards so they are not hidden at the far end of the template.
* git hooks: Adjust hooks for the ports treeMateusz Piotrowski2021-04-221-3/+3
| | | | | | | | | | - Capitalize the topic line: this way the example is consistent with the desired style. - Update the description of MFH. - Point the Pull Request field to the ports repo on GitHub. Reviewed by: mat, bapt Differential Revision: https://reviews.freebsd.org/D29861
* Add the prepare-commit-msg hook to the repository.Mathieu Arnold2021-04-201-0/+69
To make use of it, the easiest way is to run: git config --add core.hooksPath .hooks Discussed with: bapt