]> www.infradead.org Git - users/dedekind/aiaiai.git/commitdiff
aiaiai-email-test-patchset: notify admin when patches can't find base
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 26 Aug 2015 20:54:06 +0000 (13:54 -0700)
committerJacob Keller <jacob.e.keller@intel.com>
Wed, 26 Aug 2015 20:54:06 +0000 (13:54 -0700)
Also notify the administrator of aiaiai when a user's patch gets
rejected by the hook.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
email/aiaiai-email-test-patchset

index 8270e04cc069a9cc1d1450aad951526ad5a94f8a..b873501f8f13b1e94378b6a1699193bce017732e 100755 (executable)
@@ -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)