Re: [PATCH V2] git-send-email.perl: Deduplicate "to:" and "cc:" entries with names
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 26, 2010, 18:34 UTC
- Message-ID
- <7vmxowq6gz.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1290294365.31117.40.camel@Joe-Laptop>
Joe Perches <joe@perches.com> writes:
Show 8 quoted lines
> If an email address in the "to:" list is in the style > "First Last <email@domain.tld>", ie: not just a bare > address like "email@domain.tld", and the same named > entry style exists in the "cc:" list, the current > logic will not remove the entry from the "cc:" list. > > Add logic to better deduplicate the "cc:" list by also > matching the email address with angle brackets.
Thanks; this is an improvement from the current behaviour. We do cull duplicates if you have the same address listed on @cc twice, but we don't do the similar culling between To:/Cc: headers.
I wonder if we should remove addresses from To: and Cc: if the same address appears in @bcclist, by the way, but that is a separate topic.
Thanks.