diff options
author | Drew DeVault <sir@cmpwn.com> | 2020-07-23 20:44:32 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-07-23 18:00:34 -0700 |
commit | dd84e528a34c3822e7ab0473a95e411665b37681 (patch) | |
tree | 92ec8f5e78e1aeac2be748dcf0262a370cc228cb /Documentation/config/sendemail.txt | |
parent | Documentation/RelNotes: fix a typo in 2.28's relnotes (diff) | |
download | tgif-dd84e528a34c3822e7ab0473a95e411665b37681.tar.xz |
git-send-email: die if sendmail.* config is set
I've seen several people mis-configure git send-email on their first
attempt because they set the sendmail.* config options - not
sendemail.*. This patch detects this mistake and bails out with a
friendly warning.
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config/sendemail.txt')
-rw-r--r-- | Documentation/config/sendemail.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/config/sendemail.txt b/Documentation/config/sendemail.txt index 0006faf800..cbc5af42fd 100644 --- a/Documentation/config/sendemail.txt +++ b/Documentation/config/sendemail.txt @@ -61,3 +61,8 @@ sendemail.smtpBatchSize:: sendemail.smtpReloginDelay:: Seconds wait before reconnecting to smtp server. See also the `--relogin-delay` option of linkgit:git-send-email[1]. + +sendemail.forbidSendmailVariables:: + To avoid common misconfiguration mistakes, linkgit:git-send-email[1] + will abort with a warning if any configuration options for "sendmail" + exist. Set this variable to bypass the check. |