[aiaiai] aiaiai-email-test-patchset: notify admin when patches can't find base
Jacob Keller
jacob.e.keller at intel.com
Wed Aug 26 14:02:16 PDT 2015
Also notify the administrator of aiaiai when a user's patch gets
rejected by the hook.
Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
---
email/aiaiai-email-test-patchset | 2 ++
1 file changed, 2 insertions(+)
diff --git a/email/aiaiai-email-test-patchset b/email/aiaiai-email-test-patchset
index 8270e04cc069..b873501f8f13 100755
--- a/email/aiaiai-email-test-patchset
+++ b/email/aiaiai-email-test-patchset
@@ -126,6 +126,8 @@ EOF
# should be passed the main body content from the hook output as stdin.
error_hook_rejected_patch()
{
+ reply_cc="$(merge_addresses "$reply_cc" "$cfg_adminmail")"
+
send_email <<EOF
$(cat)
--
2.5.0.280.g4aaba03
More information about the aiaiai
mailing list