diff options
Diffstat (limited to 'local')
-rwxr-xr-x | local/postrecv-bugs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/local/postrecv-bugs b/local/postrecv-bugs index 76d1353..b5d9868 100755 --- a/local/postrecv-bugs +++ b/local/postrecv-bugs @@ -107,8 +107,10 @@ $(git show --pretty=fuller --date=iso-local --stat "${commithash}")" # TODO: --show-signature with some nice short output if [[ ${close} == 1 ]]; then - CLOSE_BUGS[${bugno}]+=${newmsg} - CLOSE_RESO[${bugno}]+=${resolution:-FIXED} + if [[ -z ${resolution} ]]; then # we catch the resolution on second pass over the same line + CLOSE_BUGS[${bugno}]+=${newmsg} + fi + CLOSE_RESO[${bugno}]=${resolution:-FIXED} else COMMENT_BUGS[${bugno}]+=${newmsg} fi |