aboutsummaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2024-01-09 00:34:58 +0100
committerRobin Jarry <robin@jarry.cc>2024-01-17 11:52:51 +0100
commit4239f0d80204a2d1f7a2475adfd62b39cd86d075 (patch)
tree3a67e992dbf77fd8692c565558f25114551d3710 /CONTRIBUTING.md
parentec0f4a50cf777895ff970fff2900265c8357c2bc (diff)
downloadaerc-4239f0d80204a2d1f7a2475adfd62b39cd86d075.tar.gz
aerc-4239f0d80204a2d1f7a2475adfd62b39cd86d075.zip
contrib: add commit-msg git hook
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>
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 9337a3c2..1a4d0bd2 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -76,6 +76,7 @@ defaults:
git config format.notes true
git config notes.rewriteRef refs/notes/commits
git config notes.rewriteMode concatenate
+ ln -s ../../contrib/commit-msg .git/hooks/commit-msg
+ ln -s ../../contrib/sendemail-validate .git/hooks/sendemail-validate
+ git config sendemail.validate true