diff options
author | Robin Jarry <robin@jarry.cc> | 2023-07-16 16:06:09 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-08-04 23:36:37 +0200 |
commit | 046b6e34ee6b53e274f03b59c895df40494eb923 (patch) | |
tree | 2b202c7611d235fecf1b0b12b9946eb8de41050a /contrib/check-patches | |
parent | dee1adce3f6ac9ba889fca89561231408e251aaa (diff) | |
download | aerc-046b6e34ee6b53e274f03b59c895df40494eb923.tar.gz |
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 'contrib/check-patches')
-rwxr-xr-x | contrib/check-patches | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/check-patches b/contrib/check-patches index 20291eb6..3ae2e834 100755 --- a/contrib/check-patches +++ b/contrib/check-patches @@ -26,7 +26,7 @@ for rev in $(git rev-list --reverse "$revision_range"); do body=$(git log --format='%b' -1 "$rev") body=${body%$(git log --format='%(trailers)' -1 "$rev")} if [ "$(echo "$body" | wc -w)" -lt 3 ]; then - echo "error [PATCH $n/$total] '$title' body has less than three words, please elaborate" >&2 + echo "error [PATCH $n/$total] '$title' body has less than three words, please describe your changes" >&2 fail=true fi |