author | Brian Gernhardt <brian@gernhardtsoftware.com> | |
Sat, 10 Apr 2010 14:53:56 +0000 (10:53 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 10 Apr 2010 20:01:23 +0000 (13:01 -0700) | ||
commit | 69cf7bfd131ae6246931459a1e6513d51f0b0119 | |
tree | 4ba643f0f54bda125b357f450132865bc258b4d7 | tree | snapshot |
parent | 79ca070ce5927e9cfc535e195b9082eb7dc5c55c | commit | diff |
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>
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>
Documentation/config.txt | diff | blob | history | |
Documentation/git-send-email.txt | diff | blob | history | |
git-send-email.perl | diff | blob | history |