diff options
author | Robin Jarry <robin@jarry.cc> | 2022-12-18 21:02:23 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-12-20 09:50:33 +0100 |
commit | 7e65dd9ae8906a1e61ac544513aa850ae079a77e (patch) | |
tree | 3be75f36b988d605bd758e5f407c8c19e436fe03 | |
parent | dd89c7c44ba1b74c6a263c843e5d9ff00e9c2a18 (diff) | |
download | aerc-7e65dd9ae8906a1e61ac544513aa850ae079a77e.tar.gz |
check-patches: ignore .mailmap for author and s-o-b trailer check
We don't care that they are known in .mailmap as long as both match.
Reported-by: Moritz Poldrack <moritz@poldrack.dev>
Signed-off-by: Robin Jarry <robin@jarry.cc>
-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 738b1816..7d171b53 100755 --- a/contrib/check-patches +++ b/contrib/check-patches @@ -11,7 +11,7 @@ for rev in $(git rev-list --reverse "$revision_range"); do total=$((total + 1)) title=$(git log --format='%s' -1 "$rev") - author=$(git log --format='%aN <%aE>' -1 "$rev") + author=$(git log --format='%an <%ae>' -1 "$rev") git log --format="%(trailers:key=Signed-off-by,only,valueonly)" -1 "$rev" | grep -qFx "$author" || { echo "error: '$title' 'Signed-off-by: $author' trailer is missing" >&2 |