git-hooks irc-announce: add verbose blacklist

This commit is contained in:
tv 2022-03-18 16:01:57 +01:00
parent d51c1c93a0
commit 6c82600161

View File

@ -96,7 +96,12 @@ with stockholm.lib;
#$host $GIT_SSH_REPO $ref $link
add_message $(pink push) $link $(gray "($receive_mode)")
${optionalString verbose /* sh */ ''
${optionalString (verbose == false || typeOf verbose == "set") /* sh */ ''
${optionalString (verbose.exclude or [] != []) /* sh */ ''
case $ref in (${concatStringsSep "|" verbose.exclude})
continue
esac
''}
add_message "$(
git log \
--format="$(orange %h) %s $(gray '(%ar)')" \