]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-send-email.perl
Git.pm: config_boolean() -> config_bool()
[thirdparty/git.git] / git-send-email.perl
index a6e3e026199a8d5ce763360c60ee0491f14820a5..404095f258f1eafd8f247257c2416c9dba86364b 100755 (executable)
@@ -154,8 +154,8 @@ if ($@) {
        $term = new FakeTerm "$@: going non-interactive";
 }
 
-my $def_chain = $repo->config_boolean('sendemail.chainreplyto');
-if ($def_chain and $def_chain eq 'false') {
+my $def_chain = $repo->config_bool('sendemail.chainreplyto');
+if (defined $def_chain and not $def_chain) {
     $chain_reply_to = 0;
 }