aboutsummaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-07-16 16:06:09 +0200
committerRobin Jarry <robin@jarry.cc>2023-08-04 23:36:37 +0200
commit046b6e34ee6b53e274f03b59c895df40494eb923 (patch)
tree2b202c7611d235fecf1b0b12b9946eb8de41050a /CONTRIBUTING.md
parentdee1adce3f6ac9ba889fca89561231408e251aaa (diff)
downloadaerc-046b6e34ee6b53e274f03b59c895df40494eb923.tar.gz
aerc-046b6e34ee6b53e274f03b59c895df40494eb923.zip
contrib: update sendemail-validate hook
With git 2.41, git send-email exports a patch counter to the validate hook. Copy the example hook from git and adapt it for aerc. Link: https://github.com/git/git/commit/3c8d3adeae83 Signed-off-by: Robin Jarry <robin@jarry.cc> Acked-by: Tim Culverhouse <tim@timculverhouse.com>
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index fc96e9ab..340eef83 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -65,8 +65,7 @@ defaults:
$ make gitconfig
git config format.subjectPrefix "PATCH aerc"
git config sendemail.to "~rjarry/aerc-devel@lists.sr.ht"
- git config sendemail.validate true
- ln -sf ../../contrib/sendemail-validate-series .git/hooks/sendemail-validate
+ '.git/hooks/sendemail-validate' -> '../../contrib/sendemail-validate'
And send the patch to the mailing list ([step-by-step
instructions][git-send-email-tutorial]):