Page MenuHomeFreeBSD

Add the prepare-commit-msg hook to the repository
ClosedPublic

Authored by lwhsu on Aug 15 2022, 4:20 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 9, 10:25 PM
Unknown Object (File)
Aug 31 2025, 12:36 AM
Unknown Object (File)
Aug 30 2025, 8:51 PM
Unknown Object (File)
Jul 24 2025, 11:32 AM
Unknown Object (File)
Jul 17 2025, 7:43 AM
Unknown Object (File)
Jul 11 2025, 4:01 PM
Unknown Object (File)
Jun 30 2025, 1:00 PM
Unknown Object (File)
Jun 30 2025, 6:57 AM
Subscribers

Details

Summary

This is a merged and modified version from src and ports repositories.

The easiest way to install is run the following command in the repository:

git config --add core.hooksPath .hooks

or copy it to the hooks directory, but it will not get automatically updated:

cp .hooks/prepare-commit-msg .git/hooks/

Diff Detail

Repository
R9 FreeBSD doc repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

lwhsu requested review of this revision.Aug 15 2022, 4:20 AM
lwhsu created this revision.
carlavilla added a subscriber: carlavilla.

Approved, thanks for this

This revision is now accepted and ready to land.Aug 16 2022, 6:11 AM