• M
    send-email: fix threaded mails without chain-reply-to · f74fe34b
    Markus Heidelberg 提交于
    An earlier commit 15da1084 ("send-email: 'References:' should only
    reference what is sent", 2009-04-13) broke logic to set up threading
    information for the next message by rewriting "!" to "not" without
    understanding the precedence rules of the language.
    
    Namely,
    
        ! defined $reply_to || length($reply_to) == 0
    
    was changed to
    
        not defined $reply_to || length($reply_to) == 0
    
    which is
    
        not (defined $reply_to || length($reply_to) == 0)
    
    and different from what was intended, which is
    
        (not defined $reply_to) || (length($reply_to) == 0)
    Signed-off-by: NMarkus Heidelberg <markus.heidelberg@web.de>
    Signed-off-by: NJunio C Hamano <gitster@pobox.com>
    f74fe34b
git-send-email.perl 32.5 KB