Rasmus Villemoes <r...@rasmusvillemoes.dk> writes:

>> I wonder if it would make it easier to grok if we made the logic
>> inside out, i.e.
>> 
>>      if ($sc eq $sender) {
>>              ...
>>      } else {
>>              if ($what =~ /^Signed-off-by$/i) {
>>                      next if $suppress_cc{'sob'};
>>              } elsif ($what =~ /-by$/i) {
>>                      next if $suppress_cc{'misc'};
>>              } elsif ($what =~ /^Cc$/i) {
>>                      next if $suppress_cc{'bodycc'};>                }
>
> ...yes, that's probably more readable.

OK, unless there is more comments and suggestions for improvements,
can you send in a final version sometime not in so distant future so
that we won't forget?  It may be surprising to existing users that
the command now suddenly adds more addresses the user did not think
would be added, but it would probably be easy enough for them to
work around.  I'll need to prepare a note in the draft release notes
to describe backward (in)compatibility to warn users.

Reply via email to