]> git.ipfire.org Git - thirdparty/git.git/commit - git-send-email.perl
send-email: refactor sendemail.smtpencryption config parsing
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 28 May 2021 09:23:43 +0000 (11:23 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 28 May 2021 09:38:07 +0000 (18:38 +0900)
commit119974e9e7f3569400aa1950529f69431534a617
tree3d607c1b95b3a2cb67b8555af3a90a7b1d6e30ae
parent671818ab0b8206481d38054477059fee46db0ba3
send-email: refactor sendemail.smtpencryption config parsing

With the removal of the support for sendemail.smtpssl in the preceding
commit the parsing of sendemail.smtpencryption is no longer special,
and can by moved to %config_settings.

This gets us rid of an unconditional call to Git::config(), which as
we'll see in subsequent commits matters for startup performance.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl