[PATCH RFC 2/8] aiaiai-test-patchset: use merge_addresses only once

Keller, Jacob E jacob.e.keller at intel.com
Thu Mar 6 17:29:31 PST 2014


Since merge addresses can now handle arbitrary lists of parameters, we
should just use a single call instead of multiple calls in a row.

Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
---
 email/aiaiai-email-test-patchset | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/email/aiaiai-email-test-patchset b/email/aiaiai-email-test-patchset
index 03d747a846c3..cb177dbcbda8 100755
--- a/email/aiaiai-email-test-patchset
+++ b/email/aiaiai-email-test-patchset
@@ -328,8 +328,7 @@ fi
 # Create the Cc list for replies that we'll be sending
 if [ "$pcfg_reply_to_all" = "1" ]; then
 	# All the patch recipients will be CCed
-	reply_cc="$(merge_addresses "$to" "$cc")"
-	reply_cc="$(merge_addresses "$reply_cc" "$pcfg_always_cc")"
+	reply_cc="$(merge_addresses "$to" "$cc" "$pcfg_always_cc")"
 	reply_cc=$(strip_address "$reply_cc" "$cfg_ownmail")
 else
 	reply_cc="$pcfg_always_cc"
-- 
1.8.3.1




More information about the aiaiai mailing list