aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2023-09-27 13:34:37 +0100
committerPeter Maydell <peter.maydell@linaro.org>2023-09-27 13:34:37 +0100
commitf9a317392e83c84e4fdfcff554f64da3dfb7907b (patch)
tree83ce91c76c6dac0372cd6d580006ad66aeefaf5a
parent17aeea49cb3f43d303da375d55db72c10c2f6869 (diff)
apply-pullreq: Catch commits attributed to any QEMU listHEADmaster
Update the test that spots git commits that have an author email address matching a QEMU mailing list, so that it checks for any QEMU list, not just qemu-devel. (We had a few recently that were attributed to qemu-block.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rwxr-xr-xapply-pullreq2
1 files changed, 1 insertions, 1 deletions
diff --git a/apply-pullreq b/apply-pullreq
index 17021eb..11bb519 100755
--- a/apply-pullreq
+++ b/apply-pullreq
@@ -130,7 +130,7 @@ if git diff master..staging | grep -q 'Subproject commit'; then
fi
# Check whether any authors needs to be corrected after SPF rewrites
-if git shortlog --author=qemu-devel@nongnu.org master..staging | grep .; then
+if git shortlog --author='qemu-.*@nongnu\.org' master..staging | grep .; then
echo "ERROR: pull request includes commits attributed to list"
exit 1
fi