aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-send-email.txt
diff options
context:
space:
mode:
authorSergey Vlasov <vsu@altlinux.ru>2006-10-29 22:31:39 +0300
committerJunio C Hamano <junkio@cox.net>2006-10-29 12:45:23 -0800
commit6dcfa306f2b67b733a7eb2d7ded1bc9987809edb (patch)
treeed4a62ffbc9a8ab474b3dcc7db13b185de98cdfc /Documentation/git-send-email.txt
parent9c572b21dd090a1e5c5bb397053bf8043ffe7fb4 (diff)
downloadgit-6dcfa306f2b67b733a7eb2d7ded1bc9987809edb.tar.gz
git-send-email: Read the default SMTP server from the GIT config file
Make the default value for --smtp-server configurable through the 'sendemail.smtpserver' option in .git/config (or $HOME/.gitconfig). Signed-off-by: Sergey Vlasov <vsu@altlinux.ru> Acked-by: Ryan Anderson <rda@google.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-send-email.txt')
-rw-r--r--Documentation/git-send-email.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index ec0e20182b..4c8d907bd5 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -68,9 +68,11 @@ The options available are:
--smtp-server::
If set, specifies the outgoing SMTP server to use. A full
pathname of a sendmail-like program can be specified instead;
- the program must support the `-i` option. Defaults to
- `/usr/sbin/sendmail` or `/usr/lib/sendmail` if such program is
- available, or to `localhost` otherwise.
+ the program must support the `-i` option. Default value can
+ be specified by the 'sendemail.smtpserver' configuration
+ option; the built-in default is `/usr/sbin/sendmail` or
+ `/usr/lib/sendmail` if such program is available, or
+ `localhost` otherwise.
--subject::
Specify the initial subject of the email thread.