aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2024-07-20 00:02:15 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2024-07-20 00:02:15 -0700
commitb3eabe7488f0b9b6ffe7f06c0e85ca5445559c47 (patch)
tree1da209ad3b6d48b8b2bba4878d9bfd1d22cd7a57
parentlocal: add support for commit tags with resolutions FIXED, OBSOLETE, PKGREMOVED (diff)
downloadgithooks-b3eabe7488f0b9b6ffe7f06c0e85ca5445559c47.tar.gz
githooks-b3eabe7488f0b9b6ffe7f06c0e85ca5445559c47.tar.bz2
githooks-b3eabe7488f0b9b6ffe7f06c0e85ca5445559c47.zip
postrecv-bugs: ensure resolution is empty first
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xlocal/postrecv-bugs1
1 files changed, 1 insertions, 0 deletions
diff --git a/local/postrecv-bugs b/local/postrecv-bugs
index 3d68965..cf8097a 100755
--- a/local/postrecv-bugs
+++ b/local/postrecv-bugs
@@ -65,6 +65,7 @@ while read -r oldrev newrev refname; do
fi
for bug in "${bugref[@]}"; do
bug="${bug,,}"
+ unset resolution
case ${bug} in
# long bugzilla URL
http://bugs.gentoo.org/show_bug.cgi\?*|https://bugs.gentoo.org/show_bug.cgi\?*)