summaryrefslogtreecommitdiff
path: root/Documentation/git-send-email.txt
diff options
context:
space:
mode:
authorBrian Gernhardt <brian@gernhardtsoftware.com>2010-04-10 14:53:56 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-04-10 20:01:23 (GMT)
commit69cf7bfd131ae6246931459a1e6513d51f0b0119 (patch)
tree4ba643f0f54bda125b357f450132865bc258b4d7 /Documentation/git-send-email.txt
parent79ca070ce5927e9cfc535e195b9082eb7dc5c55c (diff)
downloadgit-69cf7bfd131ae6246931459a1e6513d51f0b0119.zip
git-69cf7bfd131ae6246931459a1e6513d51f0b0119.tar.gz
git-69cf7bfd131ae6246931459a1e6513d51f0b0119.tar.bz2
send-email: Cleanup smtp-domain and add config
The way the code stored --smtp-domain was unlike its handling of other similar options. Bring it in line with the others by: - Renaming $mail_domain to $smtp_domain to match the command line option. Also move its declaration from near the top of the file to near other option variables. - Removing $mail_domain_default. The variable was used once and only served to move the default away from where it gets used. - Adding a sendemail.smtpdomain config option. smtp-domain was the only SMTP configuration option that couldn't be set in the user's .gitconfig. Signed-off-by: Brian Gernhardt <brian@gernhardtsoftware.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-send-email.txt')
-rw-r--r--Documentation/git-send-email.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index f171471..288a4ec 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -123,7 +123,8 @@ Sending
Specifies the Fully Qualified Domain Name (FQDN) used in the
HELO/EHLO command to the SMTP server. Some servers require the
FQDN to match your IP address. If not set, git send-email attempts
- to determine your FQDN automatically.
+ to determine your FQDN automatically. Default is the value of
+ 'sendemail.smtpdomain'.
--smtp-pass[=<password>]::
Password for SMTP-AUTH. The argument is optional: If no