aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/commit-msg
Commit message (Collapse)AuthorAgeFilesLines
* contrib: use sed -E for shell scriptsMaarten Aertsen2024-02-291-2/+2
| | | | | | | | | The + character is not part of the 'basic regular expressions' in BSD grep. Use -E to enable extended (modern) regular expressions. Also remove escaping. This makes the commit msg hook work on macOS 14.2. Signed-off-by: Maarten Aertsen <maarten@nlnetlabs.nl> Signed-off-by: Robin Jarry <robin@jarry.cc>
* contrib: add commit-msg git hookRobin Jarry2024-01-171-0/+80
Add a script that deals with the proper formatting and ordering of git trailers. Install it as commit-msg git hook so that everyone can benefit from it. Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Bence Ferdinandy <bence@ferdinandy.com>