From: Junio C Hamano Date: Fri, 26 Nov 2010 18:34:36 GMT Subject: Re: [PATCH V2] git-send-email.perl: Deduplicate "to:" and "cc:" entries with names Message-ID: <7vmxowq6gz.fsf@alter.siamese.dyndns.org> In-Reply-To: <1290294365.31117.40.camel@Joe-Laptop> Joe Perches writes: > If an email address in the "to:" list is in the style > "First Last ", 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.